| OLD | NEW |
| 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 // This file was generated by: | 5 // This file was generated by: |
| 6 // ./tools/json_schema_compiler/compiler.py. | 6 // ./tools/json_schema_compiler/compiler.py. |
| 7 // NOTE: The format of types has changed. 'FooType' is now | 7 // NOTE: The format of types has changed. 'FooType' is now |
| 8 // 'chrome.bluetooth.FooType'. | 8 // 'chrome.bluetooth.FooType'. |
| 9 // Please run the closure compiler before committing changes. | 9 // Please run the closure compiler before committing changes. |
| 10 // See https://code.google.com/p/chromium/wiki/ClosureCompilation. | 10 // See https://code.google.com/p/chromium/wiki/ClosureCompilation. |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 * address: string, | 62 * address: string, |
| 63 * name: (string|undefined), | 63 * name: (string|undefined), |
| 64 * deviceClass: (number|undefined), | 64 * deviceClass: (number|undefined), |
| 65 * vendorIdSource: (!chrome.bluetooth.VendorIdSource|undefined), | 65 * vendorIdSource: (!chrome.bluetooth.VendorIdSource|undefined), |
| 66 * vendorId: (number|undefined), | 66 * vendorId: (number|undefined), |
| 67 * productId: (number|undefined), | 67 * productId: (number|undefined), |
| 68 * deviceId: (number|undefined), | 68 * deviceId: (number|undefined), |
| 69 * type: (!chrome.bluetooth.DeviceType|undefined), | 69 * type: (!chrome.bluetooth.DeviceType|undefined), |
| 70 * paired: (boolean|undefined), | 70 * paired: (boolean|undefined), |
| 71 * connected: (boolean|undefined), | 71 * connected: (boolean|undefined), |
| 72 * connecting: (boolean|undefined), |
| 73 * connectable: (boolean|undefined), |
| 72 * uuids: (!Array<string>|undefined), | 74 * uuids: (!Array<string>|undefined), |
| 73 * inquiryRssi: (number|undefined), | 75 * inquiryRssi: (number|undefined), |
| 74 * inquiryTxPower: (number|undefined) | 76 * inquiryTxPower: (number|undefined) |
| 75 * }} | 77 * }} |
| 76 * @see https://developer.chrome.com/extensions/bluetooth#type-Device | 78 * @see https://developer.chrome.com/extensions/bluetooth#type-Device |
| 77 */ | 79 */ |
| 78 chrome.bluetooth.Device; | 80 chrome.bluetooth.Device; |
| 79 | 81 |
| 80 /** | 82 /** |
| 81 * Get information about the Bluetooth adapter. | 83 * Get information about the Bluetooth adapter. |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 chrome.bluetooth.onDeviceChanged; | 147 chrome.bluetooth.onDeviceChanged; |
| 146 | 148 |
| 147 /** | 149 /** |
| 148 * Fired when a Bluetooth device that was previously discovered has been out of | 150 * Fired when a Bluetooth device that was previously discovered has been out of |
| 149 * range for long enough to be considered unavailable again, and when a paired | 151 * range for long enough to be considered unavailable again, and when a paired |
| 150 * device is removed. | 152 * device is removed. |
| 151 * @type {!ChromeEvent} | 153 * @type {!ChromeEvent} |
| 152 * @see https://developer.chrome.com/extensions/bluetooth#event-onDeviceRemoved | 154 * @see https://developer.chrome.com/extensions/bluetooth#event-onDeviceRemoved |
| 153 */ | 155 */ |
| 154 chrome.bluetooth.onDeviceRemoved; | 156 chrome.bluetooth.onDeviceRemoved; |
| OLD | NEW |