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

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

Issue 1848103005: [Extensions] Remove the "use_movable_types" entry from idl/json files (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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_modem</code> API 5 // Use the <code>chrome.audio_modem</code> API
6 // to transmit and receive short tokens over audio. 6 // to transmit and receive short tokens over audio.
7 [use_movable_types=true]namespace audioModem { 7 namespace audioModem {
8 // The audio bands supported. 8 // The audio bands supported.
9 enum Audioband { 9 enum Audioband {
10 // Audible (up to 3 kHz) 10 // Audible (up to 3 kHz)
11 audible, 11 audible,
12 // Inaudible (18-20 kHz) 12 // Inaudible (18-20 kHz)
13 inaudible 13 inaudible
14 }; 14 };
15 15
16 // Details for how a token is encoded in audio. 16 // Details for how a token is encoded in audio.
17 dictionary TokenEncoding { 17 dictionary TokenEncoding {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 interface Events { 78 interface Events {
79 // Audio tokens have been received. 79 // Audio tokens have been received.
80 static void onReceived(ReceivedToken[] tokens); 80 static void onReceived(ReceivedToken[] tokens);
81 // Transmit could not be confirmed. 81 // Transmit could not be confirmed.
82 // The speaker volume might be too low. 82 // The speaker volume might be too low.
83 static void onTransmitFail(Audioband band); 83 static void onTransmitFail(Audioband band);
84 }; 84 };
85 }; 85 };
86 86
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698