OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 /** | 5 /** |
6 * @fileoverview Oobe HID detection screen implementation. | 6 * @fileoverview Oobe HID detection screen implementation. |
7 */ | 7 */ |
8 | 8 |
9 login.createScreen('HIDDetectionScreen', 'hid-detection', function() { | 9 login.createScreen('HIDDetectionScreen', 'hid-detection', function() { |
10 return { | 10 return { |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
159 if (device.pairing) | 159 if (device.pairing) |
160 this.showPairingLayout(device); | 160 this.showPairingLayout(device); |
161 }, | 161 }, |
162 | 162 |
163 /** | 163 /** |
164 * Displays the pairing overlay. | 164 * Displays the pairing overlay. |
165 * @param {Object} device Description of the Bluetooth device. | 165 * @param {Object} device Description of the Bluetooth device. |
166 */ | 166 */ |
167 showPairingLayout: function(device) { | 167 showPairingLayout: function(device) { |
168 BluetoothPairing.getInstance().update(device); | 168 BluetoothPairing.getInstance().update(device); |
169 OptionsPage.showPageByName('bluetoothPairing', false); | 169 PageManager.showPageByName('bluetoothPairing', false); |
Dan Beam
2014/07/30 01:00:01
how is this finding the unprefixed name (e.g. no o
michaelpg
2014/07/30 21:42:19
good question. apparently this is unused code and
| |
170 }, | 170 }, |
171 }; | 171 }; |
172 }); | 172 }); |
OLD | NEW |