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

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

Issue 10095029: Disable "always allowed" checkbox in chrome://plugins for disabled plug-ins. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review 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.css ('k') | chrome/browser/resources/plugins.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/plugins.html
diff --git a/chrome/browser/resources/plugins.html b/chrome/browser/resources/plugins.html
index 7f86c82c78abce0461da771761eb9e043e845d98..7de48cd3ae25426f12c802dd16a866dd0947dab4 100644
--- a/chrome/browser/resources/plugins.html
+++ b/chrome/browser/resources/plugins.html
@@ -81,9 +81,9 @@
</div>
</div>
<div jsselect="plugin_files" class="plugin-details">
- <div class="show-in-tmi-mode">
+ <div class="show-in-tmi-mode plugin-file">
<div jsvalues=
- ".className:isPluginEnabled($this) ? 'plugin-file-enabled' : 'plugin-file-disabled'">
+ ".className:isPluginEnabled($this) ? 'plugin-enabled' : 'plugin-disabled'">
<div><table><tr>
<td class="plugin-details-label"
i18n-content="pluginName">NAME:</td>
@@ -188,7 +188,7 @@
<input
class="always-allow" type="checkbox"
jsvalues=
- ".identifier:id; id:id + '-always-allowed'; .checked:alwaysAllowed">
+ ".identifier:id; id:id + '-always-allowed'; .checked:alwaysAllowed; disabled:!isPluginEnabled($this)">
<label jsvalues="for:id + '-always-allowed'"
i18n-content="alwaysAllowed"></label>
</div>
« no previous file with comments | « chrome/browser/resources/plugins.css ('k') | chrome/browser/resources/plugins.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698