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

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: ugh just no 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
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/bluetooth_pair_device.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 50ac86514fc7ceabc466dc5c88c1927fc378279e..150592aab3a782004be343d02b2f4b9961936e22 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,16 +12,13 @@ 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,
};
BluetoothOptions.updateDiscovery = function() {
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/bluetooth_pair_device.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698