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

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

Issue 16876004: Updating JSON Schema Compiler to add description field to schemas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (kalman) rebase Created 7 years, 6 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 | « chrome/common/extensions/api/app_window.idl ('k') | chrome/common/extensions/api/bluetooth.idl » ('j') | 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 // Use the <code>chrome.audio</code> API to query audio device configuration and
6 // be notified when it changes.
5 namespace audio { 7 namespace audio {
6 8
7 dictionary OutputDeviceInfo { 9 dictionary OutputDeviceInfo {
8 // The unique identifier of the audio output device. 10 // The unique identifier of the audio output device.
9 DOMString id; 11 DOMString id;
10 // The user-friendly name (e.g. "Bose Amplifier"). 12 // The user-friendly name (e.g. "Bose Amplifier").
11 DOMString name; 13 DOMString name;
12 // True if this is the current active device. 14 // True if this is the current active device.
13 boolean isActive; 15 boolean isActive;
14 // True if this is muted. 16 // True if this is muted.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 SetPropertiesCallback callback); 62 SetPropertiesCallback callback);
61 }; 63 };
62 64
63 interface Events { 65 interface Events {
64 // Fired when anything changes to the audio device configuration. 66 // Fired when anything changes to the audio device configuration.
65 // TODO(hshi): as suggested by mpcomplete this should pass down the same 67 // TODO(hshi): as suggested by mpcomplete this should pass down the same
66 // data as GetInfoCallback. Implement this once we have getInfo working. 68 // data as GetInfoCallback. Implement this once we have getInfo working.
67 static void onDeviceChanged(); 69 static void onDeviceChanged();
68 }; 70 };
69 }; 71 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/app_window.idl ('k') | chrome/common/extensions/api/bluetooth.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698