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

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

Issue 10852016: Move serial out of experimental. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // File-level comment to appease parser. Eventually this will not be necessary. 5 // File-level comment to appease parser. Eventually this will not be necessary.
6 6
7 namespace experimental.serial { 7 namespace serial {
8 8
9 callback GetPortsCallback = void (DOMString[] ports); 9 callback GetPortsCallback = void (DOMString[] ports);
10 10
11 dictionary OpenOptions { 11 dictionary OpenOptions {
12 // The requested bitrate of the connection to be opened. For compatibility 12 // The requested bitrate of the connection to be opened. For compatibility
13 // with the widest range of hardware, this number should match one of 13 // with the widest range of hardware, this number should match one of
14 // commonly-available bitrates, such as 110, 300, 1200, 2400, 4800, 9600, 14 // commonly-available bitrates, such as 110, 300, 1200, 2400, 4800, 9600,
15 // 14400, 19200, 38400, 57600, 115200. There is no guarantee, of course, 15 // 14400, 19200, 38400, 57600, 115200. There is no guarantee, of course,
16 // that the device connected to the serial port will support the requested 16 // that the device connected to the serial port will support the requested
17 // bitrate, even if the port itself supports that bitrate. 17 // bitrate, even if the port itself supports that bitrate.
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 static void getControlSignals(long connectionId, 127 static void getControlSignals(long connectionId,
128 GetControlSignalsCallback callback); 128 GetControlSignalsCallback callback);
129 129
130 static void setControlSignals(long connectionId, 130 static void setControlSignals(long connectionId,
131 ControlSignalOptions options, 131 ControlSignalOptions options,
132 SetControlSignalsCallback callback); 132 SetControlSignalsCallback callback);
133 }; 133 };
134 134
135 }; 135 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698