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

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

Issue 11198065: Add fourth batch of controlled setting indicators (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed two obsoleted test cases. 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
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | 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/startup_section.html
diff --git a/chrome/browser/resources/options/startup_section.html b/chrome/browser/resources/options/startup_section.html
index c023b092386c115845d1a18c80d465e80f8aff70..676dbbdb01c3d2de82d717a3f08ff3c1c7ce1bf8 100644
--- a/chrome/browser/resources/options/startup_section.html
+++ b/chrome/browser/resources/options/startup_section.html
@@ -2,31 +2,50 @@
<h3 i18n-content="sectionTitleStartup"></h3>
<div>
<div class="radio">
- <label>
+ <span class="controlled-setting-with-label">
<input id="startup-newtab" type="radio" name="startup" value="5"
pref="session.restore_on_startup"
metric="Options_Startup_NewTab">
- <span i18n-content="startupShowNewTab"></span>
- </label>
+ <span>
+ <label for="startup-newtab" i18n-content="startupShowNewTab"></label>
+ <span class="controlled-setting-indicator"
+ pref="session.restore_on_startup" value="5">
+ </span>
+ </span>
+ </span>
</div>
<div class="radio">
- <label>
+ <span class="controlled-setting-with-label">
<input id="startup-restore-session" type="radio" name="startup"
value="1" pref="session.restore_on_startup"
metric="Options_Startup_LastSession">
- <span i18n-content="startupRestoreLastSession">
+ <span>
+ <label for="startup-restore-session"
+ i18n-content="startupRestoreLastSession">
+ </label>
+ <span class="controlled-setting-indicator"
+ pref="session.restore_on_startup" value="1">
+ </span>
</span>
- </label>
+ </span>
</div>
<div class="radio">
- <label>
+ <span class="controlled-setting-with-label">
<input id="startup-show-pages" type="radio" name="startup"
pref="session.restore_on_startup"
value="4" metric="Options_Startup_Custom">
<span>
- <span i18n-content="startupShowPages"></span>
+ <label for="startup-show-pages" i18n-content="startupShowPages">
+ </label>
+ <span class="controlled-setting-indicator"
+ pref="session.restore_on_startup" value="4">
+ </span>
<button id="startup-set-pages" class="link-button"
- i18n-content="startupSetPages"></button>
+ i18n-content="startupSetPages">
+ </button>
+ <span class="controlled-setting-indicator"
+ pref="session.urls_to_restore_on_startup">
+ </span>
</span>
</label>
</div>
« no previous file with comments | « chrome/browser/resources/options/browser_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