| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 cr.define('options', function() { | 5 cr.define('options', function() { |
| 6 /** @const */ var Page = cr.ui.pageManager.Page; | 6 /** @const */ var Page = cr.ui.pageManager.Page; |
| 7 | 7 |
| 8 /** | 8 /** |
| 9 * Encapsulated handling of the BrowserOptions calls from | 9 * Encapsulated handling of the BrowserOptions calls from |
| 10 * BluetoothOptionsHandler that is registered by the webUI, | 10 * BluetoothOptionsHandler that is registered by the webUI, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 __proto__: Page.prototype, | 21 __proto__: Page.prototype, |
| 22 | 22 |
| 23 /** @override */ | 23 /** @override */ |
| 24 initializePage: function() { | 24 initializePage: function() { |
| 25 chrome.bluetoothPrivate.onPairing.addListener( | 25 chrome.bluetoothPrivate.onPairing.addListener( |
| 26 BluetoothPairing.onBluetoothPairingEvent); | 26 BluetoothPairing.onBluetoothPairingEvent); |
| 27 } | 27 } |
| 28 }; | 28 }; |
| 29 | 29 |
| 30 // Export | 30 // Export |
| 31 return { | 31 return {BrowserOptions: BrowserOptions}; |
| 32 BrowserOptions: BrowserOptions | |
| 33 }; | |
| 34 }); | 32 }); |
| OLD | NEW |