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

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

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing comments - Patch currently being broken up 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/runtime.json ('k') | chrome/common/extensions/api/socket.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) 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 // Use the <code>chrome.serial</code> module to read from and write to a device
6 // connected to a serial port.
5 namespace serial { 7 namespace serial {
6 8
7 callback GetPortsCallback = void (DOMString[] ports); 9 callback GetPortsCallback = void (DOMString[] ports);
8 10
9 dictionary OpenOptions { 11 dictionary OpenOptions {
10 // The requested bitrate of the connection to be opened. For compatibility 12 // The requested bitrate of the connection to be opened. For compatibility
11 // 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
12 // commonly-available bitrates, such as 110, 300, 1200, 2400, 4800, 9600, 14 // commonly-available bitrates, such as 110, 300, 1200, 2400, 4800, 9600,
13 // 14400, 19200, 38400, 57600, 115200. There is no guarantee, of course, 15 // 14400, 19200, 38400, 57600, 115200. There is no guarantee, of course,
14 // 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
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 126
125 static void getControlSignals(long connectionId, 127 static void getControlSignals(long connectionId,
126 GetControlSignalsCallback callback); 128 GetControlSignalsCallback callback);
127 129
128 static void setControlSignals(long connectionId, 130 static void setControlSignals(long connectionId,
129 ControlSignalOptions options, 131 ControlSignalOptions options,
130 SetControlSignalsCallback callback); 132 SetControlSignalsCallback callback);
131 }; 133 };
132 134
133 }; 135 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/runtime.json ('k') | chrome/common/extensions/api/socket.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698