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

Unified Diff: chrome/browser/resources/options/browser_options.html

Issue 12221141: Show policy indicator for disable drive checkbox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « no previous file | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/browser_options.html
diff --git a/chrome/browser/resources/options/browser_options.html b/chrome/browser/resources/options/browser_options.html
index 23b8e12cd082e98e52a5fe6f61b542858c026eb1..8867ca7a8c34cdabbbacf660c4b42bdaeca13981 100644
--- a/chrome/browser/resources/options/browser_options.html
+++ b/chrome/browser/resources/options/browser_options.html
@@ -531,12 +531,16 @@
</div>
<if expr="pp_ifdef('chromeos')">
<div class="checkbox" guest-visibility="disabled">
- <label>
- <input type="checkbox"
+ <span class="controlled-setting-with-label">
+ <input id="drive-disabled" type="checkbox"
pref="gdata.disabled"
metric="Options_DisableGData">
- <span i18n-content="disableGData"></span>
- </label>
+ <span>
+ <label for="drive-disabled" i18n-content="disableGData"></label>
+ <span class="controlled-setting-indicator" pref="gdata.disabled">
+ </span>
+ </span>
+ </span>
</div>
</if>
<if expr="not pp_ifdef('chromeos')">
« no previous file with comments | « no previous file | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698