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

Unified Diff: chrome/browser/resources/settings/controls/settings_checkbox.html

Issue 2696903005: Move common cr-policy-indicator behavior into CrPolicyIndicatorBehavior (Closed)
Patch Set: rebase Created 3 years, 10 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/settings/controls/settings_checkbox.html
diff --git a/chrome/browser/resources/settings/controls/settings_checkbox.html b/chrome/browser/resources/settings/controls/settings_checkbox.html
index 34284a009978962f9fecb93da7664ff3d4915cd6..4b31374fbf5155ece419bca21685d8c9fa7e296e 100644
--- a/chrome/browser/resources/settings/controls/settings_checkbox.html
+++ b/chrome/browser/resources/settings/controls/settings_checkbox.html
@@ -1,3 +1,4 @@
+<link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_indicator.html">
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-checkbox.html">
<link rel="import" href="settings_boolean_control_behavior.html">
@@ -32,7 +33,7 @@
<div id="outerRow" noSubLabel$="[[!subLabel]]">
<paper-checkbox id="checkbox" checked="{{checked}}"
on-change="notifyChangedByUserInteraction"
- disabled="[[controlDisabled_(disabled, pref)]]">
+ disabled="[[controlDisabled_(disabled, pref.*)]]">
<div>[[label]] <content></content></div>
<div class="secondary">[[subLabel]]</div>
</paper-checkbox>

Powered by Google App Engine
This is Rietveld 408576698