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

Unified Diff: chrome/browser/resources/extensions/extensions.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, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/extensions/extensions.html ('k') | chrome/browser/resources/history/history.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/extensions/extensions.js
diff --git a/chrome/browser/resources/extensions/extensions.js b/chrome/browser/resources/extensions/extensions.js
index 32e0df1a6061c892af9b5fbe52f4751e7096df33..fa1386e9f4153fd4f0b769f680bfcaa828038349 100644
--- a/chrome/browser/resources/extensions/extensions.js
+++ b/chrome/browser/resources/extensions/extensions.js
@@ -303,12 +303,12 @@ cr.define('extensions', function() {
var pageDiv = $('extension-settings');
var marginTop = 0;
- if (extensionsData.profileIsManaged) {
- pageDiv.classList.add('profile-is-managed');
+ if (extensionsData.profileIsSupervised) {
+ pageDiv.classList.add('profile-is-supervised');
} else {
- pageDiv.classList.remove('profile-is-managed');
+ pageDiv.classList.remove('profile-is-supervised');
}
- if (extensionsData.profileIsManaged) {
+ if (extensionsData.profileIsSupervised) {
pageDiv.classList.add('showing-banner');
$('toggle-dev-on').disabled = true;
marginTop += 45;
@@ -337,7 +337,7 @@ cr.define('extensions', function() {
ExtensionsList.prototype.data_ = extensionsData;
var extensionList = $('extension-settings-list');
ExtensionsList.decorate(extensionList);
- }
+ };
// Indicate that warning |message| has occured for pack of |crx_path| and
// |pem_path| files. Ask if user wants override the warning. Send
@@ -359,7 +359,7 @@ cr.define('extensions', function() {
},
closeAlert);
ExtensionSettings.showOverlay($('alertOverlay'));
- }
+ };
/**
* Returns the current overlay or null if one does not exist.
@@ -367,7 +367,7 @@ cr.define('extensions', function() {
*/
ExtensionSettings.getCurrentOverlay = function() {
return document.querySelector('#overlay .page.showing');
- }
+ };
/**
* Sets the given overlay to show. This hides whatever overlay is currently
@@ -400,7 +400,7 @@ cr.define('extensions', function() {
overlay.hidden = !node;
uber.invokeMethodOnParent(node ? 'beginInterceptingEvents' :
'stopInterceptingEvents');
- }
+ };
/**
* Utility function to find the width of various UI strings and synchronize
« no previous file with comments | « chrome/browser/resources/extensions/extensions.html ('k') | chrome/browser/resources/history/history.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698