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

Side by Side Diff: chrome/browser/resources/chromeos/fake_bluetooth_overlay_parent.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 var OptionsPage = options.OptionsPage; 6 var OptionsPage = options.OptionsPage;
7 7
8 /** 8 /**
9 * Encapsulated a fake parent page for bluetooth overlay page used by Web UI. 9 * Encapsulated a fake parent page for bluetooth overlay page used by Web UI.
10 * @constructor 10 * @constructor
11 */ 11 */
12 function FakeBluetoothOverlayParent(model) { 12 function FakeBluetoothOverlayParent(model) {
13 OptionsPage.call(this, 'bluetooth', 13 OptionsPage.call(this, 'bluetooth',
14 '', 14 '',
15 'bluetooth-container'); 15 'bluetooth-container');
16 } 16 }
17 17
18 cr.addSingletonGetter(FakeBluetoothOverlayParent); 18 cr.addSingletonGetter(FakeBluetoothOverlayParent);
19 19
20 FakeBluetoothOverlayParent.prototype = { 20 FakeBluetoothOverlayParent.prototype = {
21 // Inherit FakeBluetoothOverlayParent from OptionsPage. 21 // Inherit FakeBluetoothOverlayParent from OptionsPage.
22 __proto__: OptionsPage.prototype, 22 __proto__: OptionsPage.prototype,
23
24 /**
25 * Initializes FakeBluetoothOverlayParent page.
26 */
27 initializePage: function() {
28 // Call base class implementation to starts preference initialization.
29 OptionsPage.prototype.initializePage.call(this);
30 },
31 }; 23 };
32 24
33 // Export 25 // Export
34 return { 26 return {
35 FakeBluetoothOverlayParent: FakeBluetoothOverlayParent 27 FakeBluetoothOverlayParent: FakeBluetoothOverlayParent
36 }; 28 };
37 }); 29 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/browser_options.js ('k') | chrome/browser/resources/options/alert_overlay.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698