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

Side by Side Diff: chrome/browser/resources/options/chromeos/bluetooth_add_device_overlay.js

Issue 543493002: Compile chrome://settings, part 2: reduce from 950 to 400 errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@F_settings
Patch Set: rebase? rebase! Created 6 years, 3 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 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 /** @const */ var PageManager = cr.ui.pageManager.PageManager; 7 /** @const */ var PageManager = cr.ui.pageManager.PageManager;
8 8
9 /** 9 /**
10 * Encapsulated handling of the Bluetooth options page. 10 * Encapsulated handling of the Bluetooth options page.
11 * @constructor 11 * @constructor
12 * @extends {cr.ui.pageManager.Page}
12 */ 13 */
13 function BluetoothOptions() { 14 function BluetoothOptions() {
14 Page.call(this, 'bluetooth', 15 Page.call(this, 'bluetooth',
15 loadTimeData.getString('bluetoothOptionsPageTabTitle'), 16 loadTimeData.getString('bluetoothOptionsPageTabTitle'),
16 'bluetooth-options'); 17 'bluetooth-options');
17 } 18 }
18 19
19 cr.addSingletonGetter(BluetoothOptions); 20 cr.addSingletonGetter(BluetoothOptions);
20 21
21 BluetoothOptions.prototype = { 22 BluetoothOptions.prototype = {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 var page = BluetoothOptions.getInstance(); 111 var page = BluetoothOptions.getInstance();
111 if (page && page.visible) 112 if (page && page.visible)
112 PageManager.closeOverlay(); 113 PageManager.closeOverlay();
113 }; 114 };
114 115
115 // Export 116 // Export
116 return { 117 return {
117 BluetoothOptions: BluetoothOptions 118 BluetoothOptions: BluetoothOptions
118 }; 119 };
119 }); 120 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698