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

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

Issue 541533002: Remove more label for= use. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests Created 6 years, 3 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 2448d8c8b8a9c179e097abdfd2b423cd1c49b500..9c3354b887cd8041192719942ae9f53b4c49bdab 100644
--- a/chrome/browser/resources/options/sync_section.html
+++ b/chrome/browser/resources/options/sync_section.html
@@ -31,19 +31,17 @@
</div>
<if expr="chromeos">
- <div class="checkbox" public-account-visibility="hidden">
- <span class="controlled-setting-with-label">
- <input id="enable-screen-lock" type="checkbox"
+ <div class="checkbox controlled-setting-with-label"
+ public-account-visibility="hidden">
+ <label>
+ <input type="checkbox"
metric="Options_ScreenLock"
pref="settings.enable_screen_lock">
- <span>
- <label for="enable-screen-lock" i18n-content="enableScreenlock">
- </label>
- <span class="controlled-setting-indicator"
- pref="settings.enable_screen_lock">
- </span>
- </span>
- </span>
+ <span i18n-content="enableScreenlock"></span>
+ </label>
+ <span class="controlled-setting-indicator"
+ i18n-values="textshared:screenLockShared"
+ pref="settings.enable_screen_lock"></span>
</div>
</div>
</if> <!-- chromeos -->
« no previous file with comments | « chrome/browser/resources/options/startup_section.html ('k') | chrome/browser/ui/webui/options/settings_format_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698