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

Side by Side Diff: chrome/common/extensions/api/bluetooth.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
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 // Bluetooth API. 5 // Use the <code>chrome.bluetooth</code> module to connect to a Bluetooth
6 6 // device.
7 namespace bluetooth { 7 namespace bluetooth {
8 dictionary AdapterState { 8 dictionary AdapterState {
9 // The address of the adapter, in the format 'XX:XX:XX:XX:XX:XX'. 9 // The address of the adapter, in the format 'XX:XX:XX:XX:XX:XX'.
10 DOMString address; 10 DOMString address;
11 11
12 // The human-readable name of the adapter. 12 // The human-readable name of the adapter.
13 DOMString name; 13 DOMString name;
14 14
15 // Indicates whether or not the adapter has power. 15 // Indicates whether or not the adapter has power.
16 boolean powered; 16 boolean powered;
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 interface Events { 276 interface Events {
277 // Fired when the state of the Bluetooth adapter changes. 277 // Fired when the state of the Bluetooth adapter changes.
278 // |state| : The new state of the adapter. 278 // |state| : The new state of the adapter.
279 static void onAdapterStateChanged(AdapterState state); 279 static void onAdapterStateChanged(AdapterState state);
280 280
281 // Fired when a connection has been made for a registered profile. 281 // Fired when a connection has been made for a registered profile.
282 // |socket| : The socket for the connection. 282 // |socket| : The socket for the connection.
283 static void onConnection(Socket socket); 283 static void onConnection(Socket socket);
284 }; 284 };
285 }; 285 };
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/app_window.idl ('k') | chrome/common/extensions/api/bookmarks.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698