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'); |