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

Unified Diff: chrome/browser/resources/chromeos/fake_bluetooth_overlay_parent.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, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/fake_bluetooth_overlay_parent.js
diff --git a/chrome/browser/resources/chromeos/fake_bluetooth_overlay_parent.js b/chrome/browser/resources/chromeos/fake_bluetooth_overlay_parent.js
index eb154bb458b8e37ec9fe57e54ed4099e32e0dc9f..20a1b587e6c6b5ad159f7f2b91a87a9dbaa046fc 100644
--- a/chrome/browser/resources/chromeos/fake_bluetooth_overlay_parent.js
+++ b/chrome/browser/resources/chromeos/fake_bluetooth_overlay_parent.js
@@ -3,30 +3,29 @@
// found in the LICENSE file.
cr.define('options', function() {
- var OptionsPage = options.OptionsPage;
+ var Page = cr.ui.pageManager.Page;
+ var PageManager = cr.ui.pageManager.PageManager;
/**
* Encapsulated a fake parent page for bluetooth overlay page used by Web UI.
* @constructor
*/
function FakeBluetoothOverlayParent(model) {
- OptionsPage.call(this, 'bluetooth',
- '',
- 'bluetooth-container');
+ Page.call(this, 'bluetooth', '', 'bluetooth-container');
}
cr.addSingletonGetter(FakeBluetoothOverlayParent);
FakeBluetoothOverlayParent.prototype = {
- // Inherit FakeBluetoothOverlayParent from OptionsPage.
- __proto__: OptionsPage.prototype,
+ // Inherit FakeBluetoothOverlayParent from Page.
+ __proto__: Page.prototype,
/**
* Initializes FakeBluetoothOverlayParent page.
*/
initializePage: function() {
// Call base class implementation to starts preference initialization.
- OptionsPage.prototype.initializePage.call(this);
+ Page.prototype.initializePage.call(this);
},
Dan Beam 2014/07/30 01:00:01 in practice L22-29 is totally useless. redefining
michaelpg 2014/07/30 21:42:19 Thanks.
};

Powered by Google App Engine
This is Rietveld 408576698