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

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

Issue 2902033002: WebUI: Fix violations of no-extra-semi lint rule. (Closed)
Patch Set: Created 3 years, 7 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
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 SettingsDialog = options.SettingsDialog; 7 /** @const */ var SettingsDialog = options.SettingsDialog;
8 8
9 /** 9 /**
10 * StartupOverlay class 10 * StartupOverlay class
11 * Encapsulated handling of the 'Set Startup pages' overlay page. 11 * Encapsulated handling of the 'Set Startup pages' overlay page.
12 * @constructor 12 * @constructor
13 * @extends {options.SettingsDialog} 13 * @extends {options.SettingsDialog}
14 */ 14 */
15 function StartupOverlay() { 15 function StartupOverlay() {
16 SettingsDialog.call(this, 'startup', 16 SettingsDialog.call(this, 'startup',
17 loadTimeData.getString('startupPagesOverlayTabTitle'), 17 loadTimeData.getString('startupPagesOverlayTabTitle'),
18 'startup-overlay', 18 'startup-overlay',
19 assertInstanceof($('startup-overlay-confirm'), HTMLButtonElement), 19 assertInstanceof($('startup-overlay-confirm'), HTMLButtonElement),
20 assertInstanceof($('startup-overlay-cancel'), HTMLButtonElement)); 20 assertInstanceof($('startup-overlay-cancel'), HTMLButtonElement));
21 }; 21 }
22 22
23 cr.addSingletonGetter(StartupOverlay); 23 cr.addSingletonGetter(StartupOverlay);
24 24
25 StartupOverlay.prototype = { 25 StartupOverlay.prototype = {
26 __proto__: SettingsDialog.prototype, 26 __proto__: SettingsDialog.prototype,
27 27
28 /** 28 /**
29 * An autocomplete list that can be attached to a text field during editing. 29 * An autocomplete list that can be attached to a text field during editing.
30 * @type {HTMLElement} 30 * @type {HTMLElement}
31 * @private 31 * @private
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 cr.makePublic(StartupOverlay, [ 157 cr.makePublic(StartupOverlay, [
158 'updateStartupPages', 158 'updateStartupPages',
159 'updateAutocompleteSuggestions', 159 'updateAutocompleteSuggestions',
160 ]); 160 ]);
161 161
162 // Export 162 // Export
163 return { 163 return {
164 StartupOverlay: StartupOverlay 164 StartupOverlay: StartupOverlay
165 }; 165 };
166 }); 166 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/language_list.js ('k') | chrome/browser/resources/options/supervised_user_create_confirm.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698