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

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: 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
Index: chrome/browser/resources/plugins.html
diff --git a/chrome/browser/resources/plugins.html b/chrome/browser/resources/plugins.html
index 7f86c82c78abce0461da771761eb9e043e845d98..f21944c1ec1d97228b52a95ba85fde0ab1e74bdc 100644
--- a/chrome/browser/resources/plugins.html
+++ b/chrome/browser/resources/plugins.html
@@ -55,7 +55,7 @@
<div class="plugin" jsselect="plugins">
<table width="100%" cellpadding="2" cellspacing="0">
<tr jsvalues=
- ".className:isPluginEnabled($this) ? 'plugin-enabled' : 'plugin-disabled'">
+ ".className:isPluginEnabled($this) ? 'enabled' : 'disabled'">
<td valign="top">
<div class="plugin-text">
<div>
@@ -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) ? 'enabled' : '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>

Powered by Google App Engine
This is Rietveld 408576698