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

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

Issue 403343002: Rename "managed (mode|user)" to "supervised user" (part 8) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 OptionsPage = options.OptionsPage; 6 var OptionsPage = options.OptionsPage;
7 7
8 /** 8 /**
9 * ManagedUserLearnMore class. 9 * SupervisedUserLearnMore class.
10 * Encapsulated handling of the 'Learn more...' overlay page. 10 * Encapsulated handling of the 'Learn more...' overlay page.
11 * @constructor 11 * @constructor
12 * @class 12 * @class
13 */ 13 */
14 function ManagedUserLearnMoreOverlay() { 14 function SupervisedUserLearnMoreOverlay() {
15 OptionsPage.call(this, 'managedUserLearnMore', 15 OptionsPage.call(this, 'supervisedUserLearnMore',
16 loadTimeData.getString('managedUserLearnMoreTitle'), 16 loadTimeData.getString('supervisedUserLearnMoreTitle'),
17 'managed-user-learn-more'); 17 'supervised-user-learn-more');
18 }; 18 };
19 19
20 cr.addSingletonGetter(ManagedUserLearnMoreOverlay); 20 cr.addSingletonGetter(SupervisedUserLearnMoreOverlay);
21 21
22 ManagedUserLearnMoreOverlay.prototype = { 22 SupervisedUserLearnMoreOverlay.prototype = {
23 // Inherit from OptionsPage. 23 // Inherit from OptionsPage.
24 __proto__: OptionsPage.prototype, 24 __proto__: OptionsPage.prototype,
25 25
26 /** @override */ 26 /** @override */
27 initializePage: function() { 27 initializePage: function() {
28 OptionsPage.prototype.initializePage.call(this); 28 OptionsPage.prototype.initializePage.call(this);
29 29
30 $('managed-user-learn-more-done').onclick = function(event) { 30 $('supervised-user-learn-more-done').onclick = function(event) {
31 OptionsPage.closeOverlay(); 31 OptionsPage.closeOverlay();
32 }; 32 };
33 }, 33 },
34 }; 34 };
35 35
36 // Export 36 // Export
37 return { 37 return {
38 ManagedUserLearnMoreOverlay: ManagedUserLearnMoreOverlay, 38 SupervisedUserLearnMoreOverlay: SupervisedUserLearnMoreOverlay,
39 }; 39 };
40 }); 40 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698