OLD | NEW |
1 <div id="settings" class="page" hidden> | 1 <div id="settings" class="page" hidden> |
2 <header> | 2 <header> |
3 <h1 i18n-content="settingsTitle"></h1> | 3 <h1 i18n-content="settingsTitle"></h1> |
4 </header> | 4 </header> |
5 <if expr="not pp_ifdef('chromeos')"> | 5 <if expr="not pp_ifdef('chromeos')"> |
6 <include src="sync_section.html"> | 6 <include src="sync_section.html"> |
7 </if> | 7 </if> |
8 <if expr="pp_ifdef('chromeos')"> | 8 <if expr="pp_ifdef('chromeos')"> |
9 <section> | 9 <section> |
10 <h3 i18n-content="sectionTitleInternet"></h3> | 10 <h3 i18n-content="sectionTitleInternet"></h3> |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 </div> | 62 </div> |
63 <div id="change-home-page-section" hidden> | 63 <div id="change-home-page-section" hidden> |
64 <div id="change-home-page-section-container" guest-visibility="disabled"> | 64 <div id="change-home-page-section-container" guest-visibility="disabled"> |
65 <span id="home-page-ntp" class="home-page-label" | 65 <span id="home-page-ntp" class="home-page-label" |
66 i18n-content="homePageNtp"></span> | 66 i18n-content="homePageNtp"></span> |
67 <span id="home-page-url" class="home-page-label"></span> | 67 <span id="home-page-url" class="home-page-label"></span> |
68 <button id="change-home-page" class="link-button" | 68 <button id="change-home-page" class="link-button" |
69 i18n-content="changeHomePage"></button> | 69 i18n-content="changeHomePage"></button> |
70 </div> | 70 </div> |
71 </div> | 71 </div> |
72 <div class="checkbox" guest-visibility="disabled"><label> | 72 <div class="checkbox" guest-visibility="disabled"> |
73 <input type="checkbox" pref="bookmark_bar.show_on_all_tabs" | 73 <span class="controlled-setting-with-label"> |
| 74 <input id="show-bookmark-bars" type="checkbox" |
| 75 pref="bookmark_bar.show_on_all_tabs" |
74 metric="Options_ShowBookmarksBar"> | 76 metric="Options_ShowBookmarksBar"> |
75 <span i18n-content="toolbarShowBookmarksBar"></span> | 77 <span> |
76 </label></div> | 78 <label for="show-bookmark-bars" |
| 79 i18n-content="toolbarShowBookmarksBar"> |
| 80 </label> |
| 81 <span class="controlled-setting-indicator" |
| 82 pref="bookmark_bar.show_on_all_tabs"> |
| 83 </span> |
| 84 </span> |
| 85 </span> |
| 86 </div> |
77 <if expr="not pp_ifdef('toolkit_views') and is_posix and not is_macosx"> | 87 <if expr="not pp_ifdef('toolkit_views') and is_posix and not is_macosx"> |
78 <div class="checkbox"><label> | 88 <div class="checkbox"><label> |
79 <input id="show-window-decorations" type="checkbox" | 89 <input id="show-window-decorations" type="checkbox" |
80 pref="browser.custom_chrome_frame" metric="Options_CustomFrame" | 90 pref="browser.custom_chrome_frame" metric="Options_CustomFrame" |
81 inverted_pref> | 91 inverted_pref> |
82 <span i18n-content="showWindowDecorations"></span> | 92 <span i18n-content="showWindowDecorations"></span> |
83 </label></div> | 93 </label></div> |
84 </if> | 94 </if> |
85 </section> | 95 </section> |
86 <if expr="pp_ifdef('chromeos')"> | 96 <if expr="pp_ifdef('chromeos')"> |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 <div class="settings-row"> | 136 <div class="settings-row"> |
127 <select id="default-search-engine" class="weakrtl"></select> | 137 <select id="default-search-engine" class="weakrtl"></select> |
128 <span class="controlled-setting-indicator" | 138 <span class="controlled-setting-indicator" |
129 pref="default_search_provider.enabled"> | 139 pref="default_search_provider.enabled"> |
130 </span> | 140 </span> |
131 <button id="manage-default-search-engines" | 141 <button id="manage-default-search-engines" |
132 i18n-content="defaultSearchManageEngines"> | 142 i18n-content="defaultSearchManageEngines"> |
133 </button> | 143 </button> |
134 </div> | 144 </div> |
135 <div class="checkbox" guest-visibility="disabled"> | 145 <div class="checkbox" guest-visibility="disabled"> |
136 <label id="instant-label"> | 146 <span class="controlled-setting-with-label"> |
137 <!-- TODO(estade): metric? --> | 147 <!-- TODO(estade): metric? --> |
138 <input id="instant-enabled-control" type="checkbox" | 148 <input id="instant-enabled-control" type="checkbox" |
139 pref="instant.enabled" dialog-pref> | 149 pref="instant.enabled" dialog-pref> |
140 <!-- TODO(estade) There's a link in here which should not be inside | 150 <span> |
141 a <label>. --> | 151 <!-- TODO(estade) There's a link in here which should not be |
142 <span i18n-values=".innerHTML:instantPrefAndWarning"></span> | 152 inside a <label>. --> |
143 </label> | 153 <label for="instant-enabled-control" |
| 154 i18n-values=".innerHTML:instantPrefAndWarning"> |
| 155 </label> |
| 156 <span id="instant-enabled-indicator" |
| 157 class="controlled-setting-indicator" pref="instant.enabled" |
| 158 dialog-pref> |
| 159 </span> |
| 160 </span> |
| 161 </span> |
144 </div> | 162 </div> |
145 </div> | 163 </div> |
146 </section> | 164 </section> |
147 <section guest-visibility="hidden"> | 165 <section guest-visibility="hidden"> |
148 <h3 i18n-content="sectionTitleUsers"></h3> | 166 <h3 i18n-content="sectionTitleUsers"></h3> |
149 <if expr="pp_ifdef('chromeos')"> | 167 <if expr="pp_ifdef('chromeos')"> |
150 <include src="sync_section.html"> | 168 <include src="sync_section.html"> |
151 </if> | 169 </if> |
152 <div id="profiles-section" hidden> | 170 <div id="profiles-section" hidden> |
153 <list id="profiles-list" class="settings-list" hidden></list> | 171 <list id="profiles-list" class="settings-list" hidden></list> |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 i18n-content="safeBrowsingEnableProtection"> | 292 i18n-content="safeBrowsingEnableProtection"> |
275 </label> | 293 </label> |
276 <span class="controlled-setting-indicator" | 294 <span class="controlled-setting-indicator" |
277 pref="safebrowsing.enabled"> | 295 pref="safebrowsing.enabled"> |
278 </span> | 296 </span> |
279 </span> | 297 </span> |
280 </span> | 298 </span> |
281 </div> | 299 </div> |
282 <if expr="pp_ifdef('_google_chrome')"> | 300 <if expr="pp_ifdef('_google_chrome')"> |
283 <div class="checkbox"> | 301 <div class="checkbox"> |
284 <label id="spelling-label"> | 302 <span class="controlled-setting-with-label"> |
285 <input id="spelling-enabled-control" type="checkbox" | 303 <input id="spelling-enabled-control" type="checkbox" |
286 pref="spellcheck.use_spelling_service" dialog-pref> | 304 pref="spellcheck.use_spelling_service" dialog-pref> |
287 <span i18n-content="spellingPref"></span> | 305 <span> |
288 </label> | 306 <label for="spelling-enabled-control" i18n-content="spellingPref"> |
| 307 </label> |
| 308 <span id="spelling-enabled-indicator" |
| 309 class="controlled-setting-indicator" |
| 310 pref="spellcheck.use_spelling_service" dialog-pref> |
| 311 </span> |
| 312 </span> |
| 313 </span> |
289 </div> | 314 </div> |
290 <div id="metricsReportingSetting" class="checkbox"> | 315 <div id="metricsReportingSetting" class="checkbox"> |
291 <span class="controlled-setting-with-label"> | 316 <span class="controlled-setting-with-label"> |
292 <if expr="pp_ifdef('chromeos')"> | 317 <if expr="pp_ifdef('chromeos')"> |
293 <input id="metricsReportingEnabled" | 318 <input id="metricsReportingEnabled" |
294 pref="cros.metrics.reportingEnabled" type="checkbox"> | 319 pref="cros.metrics.reportingEnabled" type="checkbox"> |
295 </if> | 320 </if> |
296 <if expr="not pp_ifdef('chromeos')"> | 321 <if expr="not pp_ifdef('chromeos')"> |
297 <input id="metricsReportingEnabled" | 322 <input id="metricsReportingEnabled" |
298 pref="user_experience_metrics.reporting_enabled" type="checkbox"> | 323 pref="user_experience_metrics.reporting_enabled" type="checkbox"> |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 </section> | 469 </section> |
445 </if> | 470 </if> |
446 <section> | 471 <section> |
447 <h3 i18n-content="advancedSectionTitleLanguages"></h3> | 472 <h3 i18n-content="advancedSectionTitleLanguages"></h3> |
448 <span class="settings-row" i18n-content="languageSectionLabel"></span> | 473 <span class="settings-row" i18n-content="languageSectionLabel"></span> |
449 <div class="settings-row"> | 474 <div class="settings-row"> |
450 <button id="language-button" | 475 <button id="language-button" |
451 i18n-content="languageAndSpellCheckSettingsButton"></button> | 476 i18n-content="languageAndSpellCheckSettingsButton"></button> |
452 </div> | 477 </div> |
453 <div class="checkbox"> | 478 <div class="checkbox"> |
454 <label> | 479 <span class="controlled-setting-with-label"> |
455 <input id="enableTranslate" pref="translate.enabled" | 480 <input id="enableTranslate" pref="translate.enabled" |
456 metric="Options_Translate" type="checkbox"> | 481 metric="Options_Translate" type="checkbox"> |
457 <span i18n-content="translateEnableTranslate"></span> | 482 <span> |
458 </label> | 483 <label for="enableTranslate"i18n-content="translateEnableTranslate"> |
| 484 </label> |
| 485 <span class="controlled-setting-indicator" pref="translate.enabled"> |
| 486 </span> |
| 487 </span> |
| 488 </span> |
459 </div> | 489 </div> |
460 </section> | 490 </section> |
461 <section> | 491 <section> |
462 <h3 i18n-content="downloadLocationGroupName"></h3> | 492 <h3 i18n-content="downloadLocationGroupName"></h3> |
463 <div> | 493 <div> |
464 <div class="settings-row"> | 494 <div class="settings-row"> |
465 <label> | 495 <label> |
466 <span id="download-location-label" | 496 <span id="download-location-label" |
467 i18n-content="downloadLocationBrowseTitle"> | 497 i18n-content="downloadLocationBrowseTitle"> |
468 </span> | 498 </span> |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
603 i18n-content="factoryResetRestart"> | 633 i18n-content="factoryResetRestart"> |
604 </button> | 634 </button> |
605 </div> | 635 </div> |
606 </section> | 636 </section> |
607 </if> | 637 </if> |
608 </if> | 638 </if> |
609 <if expr="not is_macosx and not pp_ifdef('chromeos')"> | 639 <if expr="not is_macosx and not pp_ifdef('chromeos')"> |
610 <section id="background-section"> | 640 <section id="background-section"> |
611 <h3 i18n-content="advancedSectionTitleBackground"></h3> | 641 <h3 i18n-content="advancedSectionTitleBackground"></h3> |
612 <div class="checkbox"> | 642 <div class="checkbox"> |
613 <label> | 643 <span class="controlled-setting-with-label"> |
614 <input id="backgroundModeCheckbox" pref="background_mode.enabled" | 644 <input id="backgroundModeCheckbox" pref="background_mode.enabled" |
615 type="checkbox"> | 645 type="checkbox"> |
616 <span i18n-content="backgroundModeCheckbox"></span> | 646 <span> |
617 </label> | 647 <label for="backgroundModeCheckbox" |
| 648 i18n-content="backgroundModeCheckbox"> |
| 649 </label> |
| 650 <span class="controlled-setting-indicator" |
| 651 pref="background_mode.enabled"> |
| 652 </span> |
| 653 </span> |
| 654 </span> |
618 </div> | 655 </div> |
619 </section> | 656 </section> |
620 </if> | 657 </if> |
621 </div> <!-- advanced-settings-container --> | 658 </div> <!-- advanced-settings-container --> |
622 </div> <!-- advanced-settings --> | 659 </div> <!-- advanced-settings --> |
623 <footer> | 660 <footer> |
624 <button id="advanced-settings-expander" class="link-button" | 661 <button id="advanced-settings-expander" class="link-button" |
625 i18n-content="showAdvancedSettings"> | 662 i18n-content="showAdvancedSettings"> |
626 </button> | 663 </button> |
627 </footer> | 664 </footer> |
628 </div> | 665 </div> |
OLD | NEW |