| // Copyright 2018 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| module chromecast.shell.mojom; |
| |
| // Observes changes in an individual application's media capabilities. |
| // See chromecast/base/bitstream_audio_codecs.h for codec values. |
| interface ApplicationMediaCapabilitiesObserver { |
| OnSupportedBitstreamAudioCodecsChanged(int32 codecs); |
| }; |
| |
| // Media capabilities for an individual application. |
| interface ApplicationMediaCapabilities { |
| AddObserver(pending_remote<ApplicationMediaCapabilitiesObserver> observer); |
| }; |