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

Side by Side Diff: chrome/browser/resources/options/startup_overlay.js

Issue 426723004: options: Remove a bunch of useless: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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; 7 /** @const */ var OptionsPage = options.OptionsPage;
8 /** @const */ var SettingsDialog = options.SettingsDialog; 8 /** @const */ var SettingsDialog = options.SettingsDialog;
9 9
10 /** 10 /**
(...skipping 20 matching lines...) Expand all
31 * @type {HTMLElement} 31 * @type {HTMLElement}
32 * @private 32 * @private
33 */ 33 */
34 autocompleteList_: null, 34 autocompleteList_: null,
35 35
36 startup_pages_pref_: { 36 startup_pages_pref_: {
37 'name': 'session.startup_urls', 37 'name': 'session.startup_urls',
38 'disabled': false 38 'disabled': false
39 }, 39 },
40 40
41 /** 41 /** @override */
42 * Initialize the page.
43 */
44 initializePage: function() { 42 initializePage: function() {
45 SettingsDialog.prototype.initializePage.call(this); 43 SettingsDialog.prototype.initializePage.call(this);
46 44
47 var self = this; 45 var self = this;
48 46
49 var startupPagesList = $('startupPagesList'); 47 var startupPagesList = $('startupPagesList');
50 options.browser_options.StartupPageList.decorate(startupPagesList); 48 options.browser_options.StartupPageList.decorate(startupPagesList);
51 startupPagesList.autoExpands = true; 49 startupPagesList.autoExpands = true;
52 50
53 $('startupUseCurrentButton').onclick = function(event) { 51 $('startupUseCurrentButton').onclick = function(event) {
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 var instance = StartupOverlay.getInstance(); 164 var instance = StartupOverlay.getInstance();
167 return instance[name + '_'].apply(instance, arguments); 165 return instance[name + '_'].apply(instance, arguments);
168 }; 166 };
169 }); 167 });
170 168
171 // Export 169 // Export
172 return { 170 return {
173 StartupOverlay: StartupOverlay 171 StartupOverlay: StartupOverlay
174 }; 172 };
175 }); 173 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/search_page.js ('k') | chrome/browser/resources/sync_setup_overlay.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698