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

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

Issue 11276006: Add Chrome OS-specific controlled setting indicators (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mark DeviceMetricsReporting policy as official only. Created 8 years, 2 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/options/sync_section.html
diff --git a/chrome/browser/resources/options/sync_section.html b/chrome/browser/resources/options/sync_section.html
index 4f7c980daa9b03f76522e78e4b70da44e1350a72..e6a321431c6648bd15fcf0f5d0231cbdf4db48d0 100644
--- a/chrome/browser/resources/options/sync_section.html
+++ b/chrome/browser/resources/options/sync_section.html
@@ -27,11 +27,17 @@
<if expr="pp_ifdef('chromeos')">
<div class="checkbox">
- <label>
+ <span class="controlled-setting-with-label">
<input id="enable-screen-lock" type="checkbox"
pref="settings.enable_screen_lock">
- <span i18n-content="enableScreenlock"></span>
- </label>
+ <span>
+ <label for=enable-screen-lock" i18n-content="enableScreenlock">
+ </label>
+ <span class="controlled-setting-indicator"
+ pref="settings.enable_screen_lock">
+ </span>
+ </span>
+ </span>
</div>
</div>
</if> <!-- pp_ifdef('chromeos') -->
« no previous file with comments | « chrome/browser/resources/options/chromeos/accounts_options.js ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698