| 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 <span id="browser-options-search-field-container" | 4 <span id="browser-options-search-field-container" |
| 5 class="search-field-container"> | 5 class="search-field-container"> |
| 6 <input id="search-field" type="search" | 6 <input id="search-field" type="search" |
| 7 i18n-values="placeholder:searchPlaceholder; | 7 i18n-values="placeholder:searchPlaceholder; |
| 8 aria-label:searchPlaceholder" incremental> | 8 aria-label:searchPlaceholder" incremental> |
| 9 </span> | 9 </span> |
| 10 </header> | 10 </header> |
| 11 <if expr="not pp_ifdef('chromeos')"> | 11 <if expr="not pp_ifdef('chromeos')"> |
| 12 <section id="sync-section"> | 12 <section id="sync-section"> |
| 13 <h3 i18n-content="sectionTitleSync"></h3> | 13 <h3 i18n-content="sectionTitleSync"></h3> |
| 14 <div id="sync-overview" class="section-description" hidden> | 14 <div id="sync-overview" class="settings-row" hidden> |
| 15 <p i18n-content="syncOverview"></p> | 15 <p i18n-content="syncOverview"></p> |
| 16 <a i18n-values="href:syncLearnMoreURL" i18n-content="learnMore" | 16 <a i18n-values="href:syncLearnMoreURL" i18n-content="learnMore" |
| 17 target="_blank"> | 17 target="_blank"> |
| 18 </a> | 18 </a> |
| 19 </div> | 19 </div> |
| 20 <div id="sync-status" hidden> | 20 <div id="sync-status" class="settings-row" hidden> |
| 21 <span id="sync-status-text"></span> | 21 <span id="sync-status-text"></span> |
| 22 <button id="sync-action-link" class="link-button"></button> | 22 <button id="sync-action-link" class="link-button"></button> |
| 23 </div> | 23 </div> |
| 24 <div id="sync-buttons"> | 24 <div id="sync-buttons" class="settings-row"> |
| 25 <button id="start-stop-sync" hidden></button> | 25 <button id="start-stop-sync" hidden></button> |
| 26 <button id="customize-sync" i18n-content="customizeSync" hidden> | 26 <button id="customize-sync" i18n-content="customizeSync" hidden> |
| 27 </button> | 27 </button> |
| 28 <div id="enable-auto-login-checkbox" class="checkbox" hidden> | 28 <div id="enable-auto-login-checkbox" class="checkbox" hidden> |
| 29 <label> | 29 <label> |
| 30 <input id="enable-auto-login" pref="autologin.enabled" | 30 <input id="enable-auto-login" pref="autologin.enabled" |
| 31 metric="Options_Autologin" type="checkbox"> | 31 metric="Options_Autologin" type="checkbox"> |
| 32 <span i18n-content="autologinEnabled"></span> | 32 <span i18n-content="autologinEnabled"></span> |
| 33 </label> | 33 </label> |
| 34 </div> | 34 </div> |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 <button id="themes-reset" | 102 <button id="themes-reset" |
| 103 i18n-content="themesSetClassic"></button> | 103 i18n-content="themesSetClassic"></button> |
| 104 </div> | 104 </div> |
| 105 </if> | 105 </if> |
| 106 <if expr="pp_ifdef('toolkit_views') or is_win or is_macosx"> | 106 <if expr="pp_ifdef('toolkit_views') or is_win or is_macosx"> |
| 107 <div> | 107 <div> |
| 108 <button id="themes-gallery" i18n-content="themesGallery"></button> | 108 <button id="themes-gallery" i18n-content="themesGallery"></button> |
| 109 <button id="themes-reset" i18n-content="themesReset"></button> | 109 <button id="themes-reset" i18n-content="themesReset"></button> |
| 110 </div> | 110 </div> |
| 111 </if> | 111 </if> |
| 112 <div> | 112 <div class="settings-row"> |
| 113 <div id="home-page-select-container"> | 113 <span i18n-content="homePage"></span> |
| 114 <label id="home-page-label" for="home-page-select" | 114 <select id="home-page-select"> |
| 115 i18n-content="homePage"></label> | 115 <option value="none" i18n-content="homePageNone"></option> |
| 116 <select id="home-page-select"> | 116 <option value="ntp" i18n-content="homePageNtp"></option> |
| 117 <option value="none" i18n-content="homePageNone"></option> | 117 <option value="url"></option> |
| 118 <option value="ntp" i18n-content="homePageNtp"></option> | 118 <option value="choose" i18n-content="homePageChoose"></option> |
| 119 <option value="url"></option> | 119 </select> |
| 120 <option value="choose" i18n-content="homePageChoose"></option> | 120 </div> |
| 121 </select> | 121 <div class="checkbox"><label> |
| 122 </div> | 122 <input type="checkbox" pref="bookmark_bar.show_on_all_tabs" |
| 123 <div class="checkbox"><label> | 123 metric="Options_ShowBookmarksBar"> |
| 124 <input type="checkbox" pref="bookmark_bar.show_on_all_tabs" | 124 <span i18n-content="toolbarShowBookmarksBar"></span> |
| 125 metric="Options_ShowBookmarksBar"> | 125 </label></div> |
| 126 <span i18n-content="toolbarShowBookmarksBar"></span> | |
| 127 </label></div> | |
| 128 <if expr="not pp_ifdef('toolkit_views') and is_posix and not is_macosx"> | 126 <if expr="not pp_ifdef('toolkit_views') and is_posix and not is_macosx"> |
| 129 <div class="checkbox"><label> | 127 <div class="checkbox"><label> |
| 130 <input id="show-window-decorations" type="checkbox" | 128 <input id="show-window-decorations" type="checkbox" |
| 131 pref="browser.custom_chrome_frame" metric="Options_CustomFrame" | 129 pref="browser.custom_chrome_frame" metric="Options_CustomFrame" |
| 132 inverted_pref> | 130 inverted_pref> |
| 133 <span i18n-content="showWindowDecorations"></span> | 131 <span i18n-content="showWindowDecorations"></span> |
| 134 </label></div> | 132 </label></div> |
| 135 </if> | 133 </if> |
| 136 </div> | |
| 137 </section> | 134 </section> |
| 138 <if expr="pp_ifdef('chromeos')"> | 135 <if expr="pp_ifdef('chromeos')"> |
| 139 <section> | 136 <section> |
| 140 <h3 i18n-content="sectionTitleDevice"></h3> | 137 <h3 i18n-content="sectionTitleDevice"></h3> |
| 141 <div class="option-control-table"> | 138 <div class="option-control-table"> |
| 142 <span class="option-name" i18n-content="deviceGroupPointer"></span> | 139 <span class="option-name" i18n-content="deviceGroupPointer"></span> |
| 143 <div id="pointer-value"> | 140 <div id="pointer-value"> |
| 144 <div id="slider-control"> | 141 <div id="slider-control"> |
| 145 <input id="sensitivity-range" type="range" min="1" max="5" | 142 <input id="sensitivity-range" type="range" min="1" max="5" |
| 146 pref="settings.touchpad.sensitivity2" class="touch-slider"> | 143 pref="settings.touchpad.sensitivity2" class="touch-slider"> |
| (...skipping 20 matching lines...) Expand all Loading... |
| 167 i18n-content="brightnessDecrease"> | 164 i18n-content="brightnessDecrease"> |
| 168 </button> | 165 </button> |
| 169 <button id="brightness-increase-button" | 166 <button id="brightness-increase-button" |
| 170 i18n-content="brightnessIncrease"> | 167 i18n-content="brightnessIncrease"> |
| 171 </button> | 168 </button> |
| 172 </div> | 169 </div> |
| 173 </section> | 170 </section> |
| 174 </if> | 171 </if> |
| 175 <section> | 172 <section> |
| 176 <h3 i18n-content="sectionTitleSearch"></h3> | 173 <h3 i18n-content="sectionTitleSearch"></h3> |
| 177 <div id="default-search-engine-group"> | 174 <div> |
| 178 <div id="default-search-group-label" | 175 <span class="settings-row" |
| 179 i18n-values=".innerHTML:defaultSearchGroupLabel"> | 176 i18n-values=".innerHTML:defaultSearchGroupLabel"> |
| 180 </div> | 177 </span> |
| 181 <div> | 178 <div class="settings-row"> |
| 182 <select id="default-search-engine" class="weakrtl"></select> | 179 <select id="default-search-engine" class="weakrtl"></select> |
| 183 <button id="manage-default-search-engines" | 180 <button id="manage-default-search-engines" |
| 184 i18n-content="defaultSearchManageEngines"> | 181 i18n-content="defaultSearchManageEngines"> |
| 185 </button> | 182 </button> |
| 186 </div> | 183 </div> |
| 187 <div id="instant-setting" class="checkbox"> | 184 <div class="checkbox"> |
| 188 <label id="instant-label"> | 185 <label id="instant-label"> |
| 189 <!-- TODO(estade): metric? --> | 186 <!-- TODO(estade): metric? --> |
| 190 <input id="instant-field-trial-control" type="checkbox" | 187 <input id="instant-field-trial-control" type="checkbox" |
| 191 checked="checked" hidden> | 188 checked="checked" hidden> |
| 192 <input id="instant-enabled-control" type="checkbox" | 189 <input id="instant-enabled-control" type="checkbox" |
| 193 pref="instant.enabled"> | 190 pref="instant.enabled"> |
| 194 <!-- TODO(estade) There's a link in here which should not be inside | 191 <!-- TODO(estade) There's a link in here which should not be inside |
| 195 a <label>. --> | 192 a <label>. --> |
| 196 <span i18n-values=".innerHTML:instantPrefAndWarning"></span> | 193 <span i18n-values=".innerHTML:instantPrefAndWarning"></span> |
| 197 </label> | 194 </label> |
| 198 </div> | 195 </div> |
| 199 </div> | 196 </div> |
| 200 </section> | 197 </section> |
| 201 <section> | 198 <section> |
| 202 <h3 i18n-content="sectionTitleUsers"></h3> | 199 <h3 i18n-content="sectionTitleUsers"></h3> |
| 203 <if expr="pp_ifdef('chromeos')"> | 200 <if expr="pp_ifdef('chromeos')"> |
| 204 <div id="sync-section"> | 201 <div id="sync-section"> |
| 205 <div id="sync-overview" class="section-description" hidden> | 202 <div id="sync-overview" class="settings-row" hidden> |
| 206 <p i18n-content="syncOverview"></p> | 203 <p i18n-content="syncOverview"></p> |
| 207 <a i18n-values="href:syncLearnMoreURL" i18n-content="learnMore"></a> | 204 <a i18n-values="href:syncLearnMoreURL" i18n-content="learnMore"></a> |
| 208 </div> | 205 </div> |
| 209 <div id="account-picture-wrapper"> | 206 <div id="account-picture-wrapper"> |
| 210 <img id="account-picture" | 207 <img id="account-picture" |
| 211 src="chrome://theme/IDR_PROFILE_PICTURE_LOADING"> | 208 src="chrome://theme/IDR_PROFILE_PICTURE_LOADING"> |
| 212 <div id="change-picture-caption" i18n-content="changePicture"></div> | 209 <div id="change-picture-caption" i18n-content="changePicture"></div> |
| 213 </div> | 210 </div> |
| 214 <div id="sync-general"> | 211 <div id="sync-general"> |
| 215 <div id="sync-status" hidden> | 212 <div id="sync-status" class="settings-row" hidden> |
| 216 <span id="sync-status-text"></span> | 213 <span id="sync-status-text"></span> |
| 217 <button id="sync-action-link" class="link-button"></button> | 214 <button id="sync-action-link" class="link-button"></button> |
| 218 </div> | 215 </div> |
| 219 <div id="enable-auto-login-checkbox" class="checkbox" hidden> | 216 <div id="enable-auto-login-checkbox" class="checkbox" hidden> |
| 220 <label> | 217 <label> |
| 221 <input id="enable-auto-login" pref="autologin.enabled" | 218 <input id="enable-auto-login" pref="autologin.enabled" |
| 222 metric="Options_Autologin" type="checkbox"> | 219 metric="Options_Autologin" type="checkbox"> |
| 223 <span i18n-content="autologinEnabled"></span> | 220 <span i18n-content="autologinEnabled"></span> |
| 224 </label> | 221 </label> |
| 225 </div> | 222 </div> |
| 226 <div class="checkbox"> | 223 <div class="checkbox"> |
| 227 <label> | 224 <label> |
| 228 <input id="enable-screen-lock" type="checkbox" | 225 <input id="enable-screen-lock" type="checkbox" |
| 229 pref="settings.enable_screen_lock"> | 226 pref="settings.enable_screen_lock"> |
| 230 <span i18n-content="enableScreenlock"></span> | 227 <span i18n-content="enableScreenlock"></span> |
| 231 </label> | 228 </label> |
| 232 </div> | 229 </div> |
| 233 </div> | 230 </div> |
| 234 <div id="sync-buttons"> | 231 <div id="sync-buttons" class="settings-row"> |
| 235 <button id="start-stop-sync" hidden></button> | 232 <button id="start-stop-sync" hidden></button> |
| 236 <button id="customize-sync" i18n-content="customizeSync" hidden> | 233 <button id="customize-sync" i18n-content="customizeSync" hidden> |
| 237 </button> | 234 </button> |
| 238 <button id="manage-accounts-button" | 235 <button id="manage-accounts-button" |
| 239 i18n-content="manageAccountsButtonTitle"> | 236 i18n-content="manageAccountsButtonTitle"> |
| 240 </button> | 237 </button> |
| 241 </div> | 238 </div> |
| 242 </div> | 239 </div> |
| 243 </if> | 240 </if> |
| 244 <div id="profiles-section" hidden> | 241 <div id="profiles-section" hidden> |
| 245 <list id="profiles-list" class="settings-list" hidden></list> | 242 <list id="profiles-list" class="settings-list" hidden></list> |
| 246 <div id="profiles-single-message" i18n-content="profilesSingleUser"> | 243 <div id="profiles-single-message" i18n-content="profilesSingleUser"> |
| 247 </div> | 244 </div> |
| 248 <div id="profiles-buttons"> | 245 <div id="profiles-buttons"> |
| 249 <button id="profiles-create" i18n-content="profilesCreate"></button> | 246 <button id="profiles-create" i18n-content="profilesCreate"></button> |
| 250 <button id="profiles-manage" i18n-content="profilesManage" disabled> | 247 <button id="profiles-manage" i18n-content="profilesManage" disabled> |
| 251 </button> | 248 </button> |
| 252 <button id="profiles-delete" i18n-content="profilesDelete"> | 249 <button id="profiles-delete" i18n-content="profilesDelete"></button> |
| 253 </button> | 250 <if expr="not pp_ifdef('chromeos')"> |
| 251 <button id="import-data" i18n-content="importData"></button> |
| 252 </if> |
| 254 </div> | 253 </div> |
| 255 </div> | 254 </div> |
| 256 <if expr="not pp_ifdef('chromeos')"> | |
| 257 <div id="manage-data-group"> | |
| 258 <div i18n-content="manageDataDescription"></div> | |
| 259 <div> | |
| 260 <button id="import-data" i18n-content="importData"></button> | |
| 261 </div> | |
| 262 </div> | |
| 263 </if> | |
| 264 </section> | 255 </section> |
| 265 <if expr="not pp_ifdef('chromeos')"> | 256 <if expr="not pp_ifdef('chromeos')"> |
| 266 <section> | 257 <section> |
| 267 <h3 i18n-content="sectionTitleDefaultBrowser"></h3> | 258 <h3 i18n-content="sectionTitleDefaultBrowser"></h3> |
| 268 <div> | 259 <div> |
| 269 <button id="set-as-default-browser" | 260 <button id="set-as-default-browser" |
| 270 i18n-content="defaultBrowserUseAsDefault" hidden> | 261 i18n-content="defaultBrowserUseAsDefault" hidden> |
| 271 </button> | 262 </button> |
| 272 <div id="default-browser-state" i18n-content="defaultBrowserUnknown"> | 263 <div id="default-browser-state" i18n-content="defaultBrowserUnknown"> |
| 273 </div> | 264 </div> |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 </if> | 322 </if> |
| 332 <section> | 323 <section> |
| 333 <h3 i18n-content="sectionTitleAdvanced"></h3> | 324 <h3 i18n-content="sectionTitleAdvanced"></h3> |
| 334 <div> | 325 <div> |
| 335 <button id="advanced-settings" | 326 <button id="advanced-settings" |
| 336 i18n-content="advancedSettings"> | 327 i18n-content="advancedSettings"> |
| 337 </button> | 328 </button> |
| 338 </div> | 329 </div> |
| 339 </section> | 330 </section> |
| 340 </div> | 331 </div> |
| OLD | NEW |