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

Side by Side Diff: chrome/browser/resources/chromeos/login/oobe_screen_hid_detection.js

Issue 410293004: Split OptionsPage into Page and PageManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed feedback Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
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
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 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698