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

Side by Side Diff: chrome/browser/resources/chromeos/browser_options.js

Issue 426723004: options: Remove a bunch of useless: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 (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 OptionsPage = options.OptionsPage; 6 /** @const */ var OptionsPage = options.OptionsPage;
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,
11 * ie, BluetoothPairingUI. 11 * ie, BluetoothPairingUI.
12 * @constructor 12 * @constructor
13 */ 13 */
14 function BrowserOptions() { 14 function BrowserOptions() {
15 OptionsPage.call(this, 15 OptionsPage.call(this,
16 'bluetooth', 16 'bluetooth',
17 '', 17 '',
18 'bluetooth-container'); 18 'bluetooth-container');
19 } 19 }
20 20
21 cr.addSingletonGetter(BrowserOptions); 21 cr.addSingletonGetter(BrowserOptions);
22 22
23 BrowserOptions.prototype = { 23 BrowserOptions.prototype = {
24 __proto__: OptionsPage.prototype, 24 __proto__: OptionsPage.prototype,
25
26 /** @override */
27 initializePage: function() {
28 OptionsPage.prototype.initializePage.call(this);
29 },
30 }; 25 };
31 26
32 BrowserOptions.showBluetoothSettings = function() { 27 BrowserOptions.showBluetoothSettings = function() {
33 }; 28 };
34 29
35 BrowserOptions.setBluetoothState = function() { 30 BrowserOptions.setBluetoothState = function() {
36 }; 31 };
37 32
38 /** 33 /**
39 * Handles addBluetoothDevice call, display the Bluetooth pairing overlay 34 * Handles addBluetoothDevice call, display the Bluetooth pairing overlay
(...skipping 14 matching lines...) Expand all
54 }; 49 };
55 50
56 BrowserOptions.removeBluetoothDevice = function(address) { 51 BrowserOptions.removeBluetoothDevice = function(address) {
57 }; 52 };
58 53
59 // Export 54 // Export
60 return { 55 return {
61 BrowserOptions: BrowserOptions 56 BrowserOptions: BrowserOptions
62 }; 57 };
63 }); 58 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698