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

Unified Diff: chrome/browser/resources/extensions/extensions.css

Issue 10542023: Disable modifying extensions when in managed mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fixed Evan's nits Created 8 years, 6 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/managed_mode_unittest.cc ('k') | chrome/browser/resources/extensions/extensions.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/extensions/extensions.css
===================================================================
--- chrome/browser/resources/extensions/extensions.css (revision 142678)
+++ chrome/browser/resources/extensions/extensions.css (working copy)
@@ -253,3 +253,17 @@
.may-not-disable .optional-controls {
display: none;
}
+
+.page:not(.dev-mode) #dev-controls {
+ display: none;
+}
+
+/* Managed mode */
+
+.page:not(.managed-mode) #managed-mode-banner {
+ display: none;
+}
+
+.managed-mode .more-extensions-link {
+ display: none;
+}
« no previous file with comments | « chrome/browser/managed_mode_unittest.cc ('k') | chrome/browser/resources/extensions/extensions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698