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

Unified Diff: chrome/browser/resources/settings/checkbox/checkbox.html

Issue 1156783004: cr-settings-checkbox: Add 'inverted' property. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/checkbox/checkbox.html
diff --git a/chrome/browser/resources/settings/checkbox/checkbox.html b/chrome/browser/resources/settings/checkbox/checkbox.html
index 2203eb3834b5939dc8ff1ca8d079136b85d8c70b..6996f98558c26b8f42db6db26ff8fdca6e92bfb3 100644
--- a/chrome/browser/resources/settings/checkbox/checkbox.html
+++ b/chrome/browser/resources/settings/checkbox/checkbox.html
@@ -9,7 +9,7 @@
<cr-events id="events"></cr-events>
<cr-settings-pref-tracker pref="[[pref]]"></cr-settings-pref-tracker>
- <cr-checkbox id="checkbox" checked="{{pref.value}}"
+ <cr-checkbox id="checkbox" checked="{{checked}}"
disabled="[[pref.disabled]]">
<span class="main-label">{{label}}</span>
<span class="sub-label">{{subLabel}}</span>

Powered by Google App Engine
This is Rietveld 408576698