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

Unified Diff: chrome/browser/resources/plugins.js

Issue 10006028: Plugins page in BWSI session has unnecessary and misleading UI components (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit fix Created 8 years, 8 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/plugins.html ('k') | chrome/browser/resources/shared/css/chrome_shared2.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/plugins.js
diff --git a/chrome/browser/resources/plugins.js b/chrome/browser/resources/plugins.js
index 4ca4616e47b7d26221cebc0e2d00dea10bdfa718..fd13b1fa3ee68d56e254bb954b4f8a254f220bad 100644
--- a/chrome/browser/resources/plugins.js
+++ b/chrome/browser/resources/plugins.js
@@ -161,6 +161,10 @@ function returnPluginsData(pluginsData) {
};
}
+ // Disable some controls for Guest in ChromeOS.
+ if (cr.isChromeOS)
+ uiAccountTweaks.UIAccountTweaks.applyGuestModeVisibility(document);
+
// Make sure the left column (with "Description:", "Location:", etc.) is the
// same size for all plugins.
var labels = document.getElementsByClassName('plugin-details-label');
« no previous file with comments | « chrome/browser/resources/plugins.html ('k') | chrome/browser/resources/shared/css/chrome_shared2.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698