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

Unified Diff: chrome/browser/resources/chromeos/bluetooth_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/bluetooth_options.js
diff --git a/chrome/browser/resources/chromeos/bluetooth_options.js b/chrome/browser/resources/chromeos/bluetooth_options.js
index 7ddff60c59ac4cdd0efe6a3f5b404b36b39e3bba..7a7f4ade03282a6d17d954b1e13ba7d58db65b0f 100644
--- a/chrome/browser/resources/chromeos/bluetooth_options.js
+++ b/chrome/browser/resources/chromeos/bluetooth_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 BluetoothOptions calls from
@@ -12,20 +12,20 @@ cr.define('options', function() {
* @constructor
*/
function BluetoothOptions() {
- OptionsPage.call(this,
- 'bluetooth',
- '',
- 'bluetooth-container');
+ Page.call(this,
+ 'bluetooth',
+ '',
+ 'bluetooth-container');
}
cr.addSingletonGetter(BluetoothOptions);
BluetoothOptions.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