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

Unified Diff: chrome/browser/resources/chromeos/browser_options.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/browser_options.js
diff --git a/chrome/browser/resources/chromeos/browser_options.js b/chrome/browser/resources/chromeos/browser_options.js
index de2b8f7abbf6160b11281c5ea436f7f6b47fea5f..399fbec97a38f8a4c16819e3a44948bcf6ac3ed4 100644
--- a/chrome/browser/resources/chromeos/browser_options.js
+++ b/chrome/browser/resources/chromeos/browser_options.js
@@ -3,7 +3,7 @@
// found in the LICENSE file.
cr.define('options', function() {
- /** @const */ var OptionsPage = options.OptionsPage;
+ /** @const */ var Page = cr.ui.pageManager.Page;
/**
* Encapsulated handling of the BrowserOptions calls from
@@ -12,20 +12,20 @@ cr.define('options', function() {
* @constructor
*/
function BrowserOptions() {
- OptionsPage.call(this,
- 'bluetooth',
- '',
- 'bluetooth-container');
+ Page.call(this,
+ 'bluetooth',
+ '',
+ 'bluetooth-container');
}
cr.addSingletonGetter(BrowserOptions);
BrowserOptions.prototype = {
- __proto__: OptionsPage.prototype,
+ __proto__: Page.prototype,
/** @override */
initializePage: function() {
- OptionsPage.prototype.initializePage.call(this);
+ Page.prototype.initializePage.call(this);
},
};

Powered by Google App Engine
This is Rietveld 408576698