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

Side by Side Diff: chrome/browser/resources/options/supervised_user_create_confirm.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 var Page = cr.ui.pageManager.Page; 6 var Page = cr.ui.pageManager.Page;
7 var PageManager = cr.ui.pageManager.PageManager; 7 var PageManager = cr.ui.pageManager.PageManager;
8 8
9 /** 9 /**
10 * SupervisedUserCreateConfirm class. 10 * SupervisedUserCreateConfirm class.
11 * Encapsulated handling of the confirmation overlay page when creating a 11 * Encapsulated handling of the confirmation overlay page when creating a
12 * supervised user. 12 * supervised user.
13 * @constructor 13 * @constructor
14 * @extends {cr.ui.pageManager.Page} 14 * @extends {cr.ui.pageManager.Page}
15 */ 15 */
16 function SupervisedUserCreateConfirmOverlay() { 16 function SupervisedUserCreateConfirmOverlay() {
17 Page.call(this, 'supervisedUserCreateConfirm', 17 Page.call(this, 'supervisedUserCreateConfirm',
18 '', // The title will be based on the new profile name. 18 '', // The title will be based on the new profile name.
19 'supervised-user-created'); 19 'supervised-user-created');
20 }; 20 }
21 21
22 cr.addSingletonGetter(SupervisedUserCreateConfirmOverlay); 22 cr.addSingletonGetter(SupervisedUserCreateConfirmOverlay);
23 23
24 SupervisedUserCreateConfirmOverlay.prototype = { 24 SupervisedUserCreateConfirmOverlay.prototype = {
25 // Inherit from Page. 25 // Inherit from Page.
26 __proto__: Page.prototype, 26 __proto__: Page.prototype,
27 27
28 // Info about the newly created profile. 28 // Info about the newly created profile.
29 profileInfo_: null, 29 profileInfo_: null,
30 30
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 'onDeletedProfile', 119 'onDeletedProfile',
120 'onUpdatedProfileName', 120 'onUpdatedProfileName',
121 'setProfileInfo', 121 'setProfileInfo',
122 ]); 122 ]);
123 123
124 // Export 124 // Export
125 return { 125 return {
126 SupervisedUserCreateConfirmOverlay: SupervisedUserCreateConfirmOverlay, 126 SupervisedUserCreateConfirmOverlay: SupervisedUserCreateConfirmOverlay,
127 }; 127 };
128 }); 128 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/startup_overlay.js ('k') | chrome/browser/resources/options/supervised_user_import.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698