Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Side by Side Diff: extensions/common/api/audio.idl

Issue 1833053004: [Extensions] Convert APIs to use movable types [10] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « extensions/common/api/app_window.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // The <code>chrome.audio</code> API is provided to allow users to 5 // The <code>chrome.audio</code> API is provided to allow users to
6 // get information about and control the audio devices attached to the 6 // get information about and control the audio devices attached to the
7 // system. This API is currently only implemented for ChromeOS. 7 // system. This API is currently only implemented for ChromeOS.
8 namespace audio { 8 [use_movable_types=true] namespace audio {
9 9
10 dictionary OutputDeviceInfo { 10 dictionary OutputDeviceInfo {
11 // The unique identifier of the audio output device. 11 // The unique identifier of the audio output device.
12 DOMString id; 12 DOMString id;
13 // The user-friendly name (e.g. "Bose Amplifier"). 13 // The user-friendly name (e.g. "Bose Amplifier").
14 DOMString name; 14 DOMString name;
15 // True if this is the current active device. 15 // True if this is the current active device.
16 boolean isActive; 16 boolean isActive;
17 // True if this is muted. 17 // True if this is muted.
18 boolean isMuted; 18 boolean isMuted;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // |isInput|: true indicating audio input; false indicating audio output. 106 // |isInput|: true indicating audio input; false indicating audio output.
107 // |isMuted|: new value of mute state. 107 // |isMuted|: new value of mute state.
108 static void OnMuteChanged(boolean isInput, boolean isMuted); 108 static void OnMuteChanged(boolean isInput, boolean isMuted);
109 109
110 // Fired when audio devices change, either new devices being added, or 110 // Fired when audio devices change, either new devices being added, or
111 // existing devices being removed. 111 // existing devices being removed.
112 // |devices|: List of all present audio devices after the change. 112 // |devices|: List of all present audio devices after the change.
113 static void OnDevicesChanged(AudioDeviceInfo[] devices); 113 static void OnDevicesChanged(AudioDeviceInfo[] devices);
114 }; 114 };
115 }; 115 };
OLDNEW
« no previous file with comments | « extensions/common/api/app_window.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698