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

Side by Side Diff: chrome/browser/resources/options/startup_overlay.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, 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 /** @const */ var ArrayDataModel = cr.ui.ArrayDataModel; 6 /** @const */ var ArrayDataModel = cr.ui.ArrayDataModel;
7 /** @const */ var OptionsPage = options.OptionsPage;
8 /** @const */ var SettingsDialog = options.SettingsDialog; 7 /** @const */ var SettingsDialog = options.SettingsDialog;
9 8
10 /** 9 /**
11 * StartupOverlay class 10 * StartupOverlay class
12 * Encapsulated handling of the 'Set Startup pages' overlay page. 11 * Encapsulated handling of the 'Set Startup pages' overlay page.
13 * @constructor 12 * @constructor
14 * @class 13 * @class
15 */ 14 */
16 function StartupOverlay() { 15 function StartupOverlay() {
17 SettingsDialog.call(this, 'startup', 16 SettingsDialog.call(this, 'startup',
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 var instance = StartupOverlay.getInstance(); 165 var instance = StartupOverlay.getInstance();
167 return instance[name + '_'].apply(instance, arguments); 166 return instance[name + '_'].apply(instance, arguments);
168 }; 167 };
169 }); 168 });
170 169
171 // Export 170 // Export
172 return { 171 return {
173 StartupOverlay: StartupOverlay 172 StartupOverlay: StartupOverlay
174 }; 173 };
175 }); 174 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698