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

Side by Side Diff: chrome/browser/resources/options/browser_options.html

Issue 539383003: Fix some more for= usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
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 <include src="automatic_settings_reset_banner.html"> 5 <include src="automatic_settings_reset_banner.html">
6 <if expr="chromeos"> 6 <if expr="chromeos">
7 <include src="secondary_user_banner.html"> 7 <include src="secondary_user_banner.html">
8 <section> 8 <section>
9 <div id="network-section-header" class="section-header"> 9 <div id="network-section-header" class="section-header">
10 <h3 i18n-content="sectionTitleInternet"></h3> 10 <h3 i18n-content="sectionTitleInternet"></h3>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 <button id="themes-gallery" i18n-content="themesGallery"></button> 53 <button id="themes-gallery" i18n-content="themesGallery"></button>
54 <button id="themes-reset" i18n-content="themesReset"></button> 54 <button id="themes-reset" i18n-content="themesReset"></button>
55 </if> 55 </if>
56 </div> 56 </div>
57 <div class="checkbox controlled-setting-with-label" 57 <div class="checkbox controlled-setting-with-label"
58 guest-visibility="disabled"> 58 guest-visibility="disabled">
59 <label> 59 <label>
60 <input type="checkbox" 60 <input type="checkbox"
61 pref="browser.show_home_button" 61 pref="browser.show_home_button"
62 metric="Options_Homepage_HomeButton"> 62 metric="Options_Homepage_HomeButton">
63 <span i18n-content="homePageShowHomeButton"></span> 63 <span>
64 <span i18n-content="homePageShowHomeButton"></span>
65 <span class="controlled-setting-indicator"
66 pref="browser.show_home_button"></span>
67 </span>
64 </label> 68 </label>
65 <span class="controlled-setting-indicator"
66 pref="browser.show_home_button"></span>
67 </div> 69 </div>
68 <div id="change-home-page-section" hidden> 70 <div id="change-home-page-section" hidden>
69 <div id="change-home-page-section-container" guest-visibility="disabled"> 71 <div id="change-home-page-section-container" guest-visibility="disabled">
70 <span id="home-page-ntp" class="home-page-label" 72 <span id="home-page-ntp" class="home-page-label"
71 i18n-content="homePageNtp"></span> 73 i18n-content="homePageNtp"></span>
72 <span id="home-page-url" class="home-page-label"></span> 74 <span id="home-page-url" class="home-page-label"></span>
73 <button id="change-home-page" class="link-button" 75 <button id="change-home-page" class="link-button"
74 i18n-content="changeHomePage"></button> 76 i18n-content="changeHomePage"></button>
75 <div id="extension-controlled-container"></div> 77 <div id="extension-controlled-container"></div>
76 </div> 78 </div>
77 </div> 79 </div>
78 <div class="checkbox controlled-setting-with-label" 80 <div class="checkbox controlled-setting-with-label"
79 guest-visibility="disabled"> 81 guest-visibility="disabled">
80 <label> 82 <label>
81 <input type="checkbox" 83 <input type="checkbox"
82 pref="bookmark_bar.show_on_all_tabs" 84 pref="bookmark_bar.show_on_all_tabs"
83 metric="Options_ShowBookmarksBar"> 85 metric="Options_ShowBookmarksBar">
84 <span i18n-content="toolbarShowBookmarksBar"></span> 86 <span>
87 <span i18n-content="toolbarShowBookmarksBar"></span>
88 <span class="controlled-setting-indicator"
89 pref="bookmark_bar.show_on_all_tabs"></span>
90 </span>
85 </label> 91 </label>
86 <span class="controlled-setting-indicator"
87 pref="bookmark_bar.show_on_all_tabs">
88 </span>
89 </div> 92 </div>
90 <if expr="is_posix and not chromeos and not is_macosx"> 93 <if expr="is_posix and not chromeos and not is_macosx">
91 <div class="checkbox"><label> 94 <div class="checkbox"><label>
92 <input id="show-window-decorations" type="checkbox" 95 <input id="show-window-decorations" type="checkbox"
93 pref="browser.custom_chrome_frame" metric="Options_CustomFrame" 96 pref="browser.custom_chrome_frame" metric="Options_CustomFrame"
94 inverted_pref> 97 inverted_pref>
95 <span i18n-content="showWindowDecorations"></span> 98 <span i18n-content="showWindowDecorations"></span>
96 </label></div> 99 </label></div>
97 </if> 100 </if>
98 </section> 101 </section>
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 <span i18n-content="improveBrowsingExperience"></span> 276 <span i18n-content="improveBrowsingExperience"></span>
274 <span i18n-content="disableWebServices"></span> 277 <span i18n-content="disableWebServices"></span>
275 <a target="_blank" i18n-content="learnMore" 278 <a target="_blank" i18n-content="learnMore"
276 i18n-values="href:privacyLearnMoreURL"></a> 279 i18n-values="href:privacyLearnMoreURL"></a>
277 </p> 280 </p>
278 <div class="checkbox controlled-setting-with-label"> 281 <div class="checkbox controlled-setting-with-label">
279 <label> 282 <label>
280 <input id="alternateErrorPagesEnabled" 283 <input id="alternateErrorPagesEnabled"
281 pref="alternate_error_pages.enabled" 284 pref="alternate_error_pages.enabled"
282 metric="Options_LinkDoctorCheckbox" type="checkbox"> 285 metric="Options_LinkDoctorCheckbox" type="checkbox">
283 <span i18n-content="linkDoctorPref"></span> 286 <span>
287 <span i18n-content="linkDoctorPref"></span>
288 <span class="controlled-setting-indicator"
289 pref="alternate_error_pages.enabled"></span>
290 </span>
284 </label> 291 </label>
285 <span class="controlled-setting-indicator"
286 pref="alternate_error_pages.enabled">
287 </span>
288 </div> 292 </div>
289 <div class="checkbox controlled-setting-with-label" 293 <div class="checkbox controlled-setting-with-label"
290 guest-visibility="disabled"> 294 guest-visibility="disabled">
291 <label> 295 <label>
292 <input pref="search.suggest_enabled" 296 <input pref="search.suggest_enabled"
293 metric="Options_UseSuggestCheckbox" type="checkbox"> 297 metric="Options_UseSuggestCheckbox" type="checkbox">
294 <span i18n-content="suggestPref"></span> 298 <span>
299 <span i18n-content="suggestPref"></span>
300 <span class="controlled-setting-indicator"
301 pref="search.suggest_enabled"></span>
302 </span>
295 </label> 303 </label>
296 <span class="controlled-setting-indicator"
297 pref="search.suggest_enabled">
298 </span>
299 </div> 304 </div>
300 <div class="checkbox" guest-visibility="disabled"> 305 <div class="checkbox" guest-visibility="disabled">
301 <span class="controlled-setting-with-label"> 306 <span class="controlled-setting-with-label">
302 <label> 307 <label>
303 <input id="networkPredictionOptions" 308 <input id="networkPredictionOptions"
304 metric="Options_DnsPrefetchCheckbox" type="checkbox"> 309 metric="Options_DnsPrefetchCheckbox" type="checkbox">
305 <span i18n-content="networkPredictionEnabledDescription"></span> 310 <span>
311 <span i18n-content="networkPredictionEnabledDescription"></span>
312 <span class="controlled-setting-indicator"
313 pref="net.network_prediction_options"></span>
314 </span>
306 </label> 315 </label>
307 <span class="controlled-setting-indicator"
308 pref="net.network_prediction_options"></span>
309 </span> 316 </span>
310 </div> 317 </div>
311 <div class="checkbox controlled-setting-with-label"> 318 <div class="checkbox controlled-setting-with-label">
312 <label> 319 <label>
313 <input 320 <input
314 metric="Options_SafeBrowsingExtendedReportingCheckbox" 321 metric="Options_SafeBrowsingExtendedReportingCheckbox"
315 pref="safebrowsing.extended_reporting_enabled" 322 pref="safebrowsing.extended_reporting_enabled"
316 type="checkbox"> 323 type="checkbox">
317 <span i18n-content="safeBrowsingEnableExtendedReporting"></span> 324 <span>
325 <span i18n-content="safeBrowsingEnableExtendedReporting"></span>
326 <span class="controlled-setting-indicator"
327 pref="safebrowsing.extended_reporting_enabled"></span>
328 </span>
318 </label> 329 </label>
319 <span class="controlled-setting-indicator"
320 pref="safebrowsing.extended_reporting_enabled">
321 </span>
322 </div> 330 </div>
323 <div class="checkbox controlled-setting-with-label"> 331 <div class="checkbox controlled-setting-with-label">
324 <label> 332 <label>
325 <input pref="safebrowsing.enabled" 333 <input pref="safebrowsing.enabled"
326 metric="Options_SafeBrowsingCheckbox" type="checkbox"> 334 metric="Options_SafeBrowsingCheckbox" type="checkbox">
327 <span i18n-content="safeBrowsingEnableProtection"></span> 335 <span>
336 <span i18n-content="safeBrowsingEnableProtection"></span>
337 <span class="controlled-setting-indicator"
338 pref="safebrowsing.enabled"></span>
339 </span>
328 </label> 340 </label>
329 <span class="controlled-setting-indicator"
330 pref="safebrowsing.enabled">
331 </span>
332 </div> 341 </div>
333 <if expr="_google_chrome"> 342 <if expr="_google_chrome">
334 <div class="checkbox controlled-setting-with-label"> 343 <div class="checkbox controlled-setting-with-label">
335 <label> 344 <label>
336 <input id="spelling-enabled-control" type="checkbox" 345 <input id="spelling-enabled-control" type="checkbox"
337 metric="Options_SpellingServiceCheckbox" 346 metric="Options_SpellingServiceCheckbox"
338 pref="spellcheck.use_spelling_service" dialog-pref> 347 pref="spellcheck.use_spelling_service" dialog-pref>
339 <span i18n-content="spellingPref"></span> 348 <span>
349 <span i18n-content="spellingPref"></span>
350 <span id="spelling-enabled-indicator"
351 class="controlled-setting-indicator"
352 pref="spellcheck.use_spelling_service" dialog-pref>
353 </span>
340 </label> 354 </label>
341 <span id="spelling-enabled-indicator"
342 class="controlled-setting-indicator"
343 pref="spellcheck.use_spelling_service" dialog-pref>
344 </span>
345 </div> 355 </div>
346 <div id="metricsReportingSetting" 356 <div id="metricsReportingSetting"
347 class="checkbox controlled-setting-with-label"> 357 class="checkbox controlled-setting-with-label">
348 <if expr="chromeos"> 358 <if expr="chromeos">
349 <label> 359 <label>
350 <input id="metricsReportingEnabled" 360 <input id="metricsReportingEnabled"
351 pref="cros.metrics.reportingEnabled" type="checkbox"> 361 pref="cros.metrics.reportingEnabled" type="checkbox">
352 <span i18n-content="enableLogging"></span> 362 <span>
363 <span i18n-content="enableLogging"></span>
364 <span class="controlled-setting-indicator"
365 pref="cros.metrics.reportingEnabled"></span>
366 </span>
353 </label> 367 </label>
354 <span class="controlled-setting-indicator"
355 pref="cros.metrics.reportingEnabled"></span>
356 </if> 368 </if>
357 <if expr="not chromeos"> 369 <if expr="not chromeos">
358 <label> 370 <label>
359 <input id="metricsReportingEnabled" 371 <input id="metricsReportingEnabled"
360 pref="user_experience_metrics.reporting_enabled" type="checkbox"> 372 pref="user_experience_metrics.reporting_enabled" type="checkbox">
361 <span i18n-content="enableLogging"> 373 <span>
374 <span i18n-content="enableLogging">
375 <span class="controlled-setting-indicator"
376 pref="user_experience_metrics.reporting_enabled"></span>
377 </span>
362 </label> 378 </label>
363 <span class="controlled-setting-indicator"
364 pref="user_experience_metrics.reporting_enabled">
365 </span>
366 <span id="metrics-reporting-reset-restart"> 379 <span id="metrics-reporting-reset-restart">
367 <!-- Text filled by JavaScript --> 380 <!-- Text filled by JavaScript -->
368 <span></span><button class= 381 <span></span><button class=
369 "link-button standalone-link-button"></button><span></span> 382 "link-button standalone-link-button"></button><span></span>
370 </span> 383 </span>
371 </if> 384 </if>
372 </div> 385 </div>
373 </if> <!-- _google_chrome --> 386 </if> <!-- _google_chrome -->
374 <div class="checkbox"> 387 <div class="checkbox">
375 <label> 388 <label>
376 <input id="do-not-track-enabled" pref="enable_do_not_track" 389 <input id="do-not-track-enabled" pref="enable_do_not_track"
377 metric="Options_DoNotTrackCheckbox" type="checkbox" dialog-pref> 390 metric="Options_DoNotTrackCheckbox" type="checkbox" dialog-pref>
378 <span i18n-content="doNotTrack"></span> 391 <span i18n-content="doNotTrack"></span>
379 </label> 392 </label>
380 </div> 393 </div>
381 <if expr="chromeos"> 394 <if expr="chromeos">
382 <div class="checkbox controlled-setting-with-label"> 395 <div class="checkbox controlled-setting-with-label">
383 <label> 396 <label>
384 <input id="content-protection-attestation-enabled" type="checkbox" 397 <input id="content-protection-attestation-enabled" type="checkbox"
385 pref="cros.device.attestation_for_content_protection_enabled"> 398 pref="cros.device.attestation_for_content_protection_enabled">
386 <span i18n-content="enableContentProtectionAttestation"></span> 399 <span>
400 <span i18n-content="enableContentProtectionAttestation"></span>
401 <span class="controlled-setting-indicator"
402 pref="cros.device.attestation_for_content_protection_enabled">
403 </span>
404 </span>
387 </label> 405 </label>
388 <a target="_blank" i18n-content="learnMore" 406 <a target="_blank" i18n-content="learnMore"
389 i18n-values="href:contentProtectionAttestationLearnMoreURL"> 407 i18n-values="href:contentProtectionAttestationLearnMoreURL">
390 </a> 408 </a>
391 <span class="controlled-setting-indicator"
392 pref="cros.device.attestation_for_content_protection_enabled">
393 </span>
394 </div> 409 </div>
395 </if> 410 </if>
396 <div id="hotword-search" hidden> 411 <div id="hotword-search" hidden>
397 <div class="checkbox controlled-setting-with-label"> 412 <div class="checkbox controlled-setting-with-label">
398 <label> 413 <label>
399 <input id="hotword-search-enable" pref="hotword.search_enabled_2" 414 <input id="hotword-search-enable" pref="hotword.search_enabled_2"
400 metric="Options_HotwordCheckbox" type="checkbox" dialog-pref> 415 metric="Options_HotwordCheckbox" type="checkbox" dialog-pref>
401 <span i18n-values=".innerHTML:hotwordSearchEnable"></span> 416 <span>
417 <span i18n-values=".innerHTML:hotwordSearchEnable"></span>
418 <span id="hotword-search-setting-indicator"
419 pref="hotword.search_enabled_2" dialog-pref></span>
420 </span>
402 </label> 421 </label>
403 <span id="hotword-search-setting-indicator"
404 pref="hotword.search_enabled_2" dialog-pref>
405 </span>
406 </div> 422 </div>
407 </div> 423 </div>
408 </div> 424 </div>
409 </section> 425 </section>
410 <if expr="chromeos"> 426 <if expr="chromeos">
411 <!-- By default, the bluetooth section is hidden. It is only visible if a 427 <!-- By default, the bluetooth section is hidden. It is only visible if a
412 bluetooth adapter is discovered --> 428 bluetooth adapter is discovered -->
413 <section id="bluetooth-devices" hidden> 429 <section id="bluetooth-devices" hidden>
414 <h3 i18n-content="bluetooth"></h3> 430 <h3 i18n-content="bluetooth"></h3>
415 <div id="bluetooth-options-div"> 431 <div id="bluetooth-options-div">
(...skipping 18 matching lines...) Expand all
434 </div> 450 </div>
435 </div> 451 </div>
436 </section> 452 </section>
437 </if> <!-- chromeos --> 453 </if> <!-- chromeos -->
438 <section id="passwords-and-autofill-section"> 454 <section id="passwords-and-autofill-section">
439 <h3 i18n-content="passwordsAndAutofillGroupName"></h3> 455 <h3 i18n-content="passwordsAndAutofillGroupName"></h3>
440 <div class="checkbox controlled-setting-with-label"> 456 <div class="checkbox controlled-setting-with-label">
441 <label> 457 <label>
442 <input id="autofill-enabled" pref="autofill.enabled" 458 <input id="autofill-enabled" pref="autofill.enabled"
443 metric="Options_FormAutofill" type="checkbox"> 459 metric="Options_FormAutofill" type="checkbox">
444 <span i18n-content="autofillEnabled"></span> 460 <span>
445 <span class="controlled-setting-indicator" pref="autofill.enabled"> 461 <span i18n-content="autofillEnabled"></span>
462 <span class="controlled-setting-indicator" pref="autofill.enabled">
463 </span>
446 </span> 464 </span>
447 </label> 465 </label>
448 <button id="autofill-settings" class="link-button" 466 <button id="autofill-settings" class="link-button"
449 i18n-content="manageAutofillSettings"> 467 i18n-content="manageAutofillSettings">
450 </button> 468 </button>
451 </div> 469 </div>
452 <div class="checkbox controlled-setting-with-label"> 470 <div class="checkbox controlled-setting-with-label">
453 <label> 471 <label>
454 <input id="password-manager-enabled" 472 <input id="password-manager-enabled"
455 pref="profile.password_manager_enabled" 473 pref="profile.password_manager_enabled"
456 metric="Options_PasswordManager" type="checkbox"> 474 metric="Options_PasswordManager" type="checkbox">
457 <span i18n-content="passwordManagerEnabled"></span> 475 <span>
458 <span class="controlled-setting-indicator" 476 <span i18n-content="passwordManagerEnabled"></span>
459 pref="profile.password_manager_enabled"></span> 477 <span class="controlled-setting-indicator"
478 pref="profile.password_manager_enabled"></span>
460 </span> 479 </span>
461 </label> 480 </label>
462 <button id="manage-passwords" class="link-button" 481 <button id="manage-passwords" class="link-button"
463 i18n-content="managePasswords"></button> 482 i18n-content="managePasswords"></button>
464 </div> 483 </div>
465 <if expr="is_macosx"> 484 <if expr="is_macosx">
466 <div id="mac-passwords-warning" i18n-content="macPasswordsWarning" hidden> 485 <div id="mac-passwords-warning" i18n-content="macPasswordsWarning" hidden>
467 </div> 486 </div>
468 </if> 487 </if>
469 </section> 488 </section>
470 <section id="easy-unlock-section" guest-visibility="hidden" hidden> 489 <section id="easy-unlock-section" guest-visibility="hidden" hidden>
471 <h3 i18n-content="easyUnlockSectionTitle"></h3> 490 <h3 i18n-content="easyUnlockSectionTitle"></h3>
472 <!-- Options shown when the user has not set up Easy Unlock --> 491 <!-- Options shown when the user has not set up Easy Unlock -->
473 <div id='easy-unlock-setup' hidden> 492 <div id='easy-unlock-setup' hidden>
474 <div class="controlled-setting-with-label"> 493 <div class="settings-row">
475 <span i18n-content="easyUnlockSetupIntro"></span> 494 <span i18n-content="easyUnlockSetupIntro"></span>
476 <a target="_blank" i18n-content="learnMore" 495 <a target="_blank" i18n-content="learnMore"
477 i18n-values="href:easyUnlockLearnMoreURL"></a> 496 i18n-values="href:easyUnlockLearnMoreURL"></a>
478 </div> 497 </div>
479 <button id="easy-unlock-setup-button" 498 <button id="easy-unlock-setup-button"
480 i18n-content="easyUnlockSetupButton"></button> 499 i18n-content="easyUnlockSetupButton"></button>
481 </div> 500 </div>
482 <!-- Options shown when the user has set up Easy Unlock --> 501 <!-- Options shown when the user has set up Easy Unlock -->
483 <div id='easy-unlock-enable' hidden> 502 <div id='easy-unlock-enable' hidden>
484 <div class="controlled-setting-with-label"> 503 <div class="settings-row">
485 <span i18n-content="easyUnlockDescription"></span> 504 <span i18n-content="easyUnlockDescription"></span>
486 <a target="_blank" i18n-content="learnMore" 505 <a target="_blank" i18n-content="learnMore"
487 i18n-values="href:easyUnlockLearnMoreURL"></a> 506 i18n-values="href:easyUnlockLearnMoreURL"></a>
488 </div> 507 </div>
489 <button id="easy-unlock-turn-off-button" 508 <button id="easy-unlock-turn-off-button"
490 i18n-content="easyUnlockTurnOffButton"></button> 509 i18n-content="easyUnlockTurnOffButton"></button>
491 </div> 510 </div>
492 </section> 511 </section>
493 <section id="web-content-section"> 512 <section id="web-content-section">
494 <h3 i18n-content="advancedSectionTitleContent"></h3> 513 <h3 i18n-content="advancedSectionTitleContent"></h3>
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 i18n-values="href:languagesLearnMoreURL"></a> 574 i18n-values="href:languagesLearnMoreURL"></a>
556 </div> 575 </div>
557 <div class="settings-row"> 576 <div class="settings-row">
558 <button id="language-button" 577 <button id="language-button"
559 i18n-content="languageAndSpellCheckSettingsButton"></button> 578 i18n-content="languageAndSpellCheckSettingsButton"></button>
560 </div> 579 </div>
561 <div class="checkbox controlled-setting-with-label"> 580 <div class="checkbox controlled-setting-with-label">
562 <label> 581 <label>
563 <input pref="translate.enabled" 582 <input pref="translate.enabled"
564 metric="Options_Translate" type="checkbox"> 583 metric="Options_Translate" type="checkbox">
565 <span i18n-content="translateEnableTranslate"></span> 584 <span>
585 <span i18n-content="translateEnableTranslate"></span>
586 <span class="controlled-setting-indicator" pref="translate.enabled">
587 </span>
566 </label> 588 </label>
567 <span class="controlled-setting-indicator" pref="translate.enabled">
568 </span>
569 <button id="manage-languages" class="link-button" 589 <button id="manage-languages" class="link-button"
570 i18n-content="manageLanguages"></button> 590 i18n-content="manageLanguages"></button>
571 </div> 591 </div>
572 </section> 592 </section>
573 <section id="downloads-section"> 593 <section id="downloads-section">
574 <h3 i18n-content="downloadLocationGroupName"></h3> 594 <h3 i18n-content="downloadLocationGroupName"></h3>
575 <div> 595 <div>
576 <div class="settings-row"> 596 <div class="settings-row">
577 <label> 597 <label>
578 <span id="download-location-label" 598 <span id="download-location-label"
579 i18n-content="downloadLocationBrowseTitle"> 599 i18n-content="downloadLocationBrowseTitle">
580 </span> 600 </span>
581 <input id="downloadLocationPath" class="weakrtl" type="text" 601 <input id="downloadLocationPath" class="weakrtl" type="text"
582 size="36" readonly> 602 size="36" readonly>
583 </label> 603 </label>
584 <button id="downloadLocationChangeButton" 604 <button id="downloadLocationChangeButton"
585 i18n-content="downloadLocationChangeButton"> 605 i18n-content="downloadLocationChangeButton">
586 </button> 606 </button>
587 <span class="controlled-setting-indicator" 607 <span class="controlled-setting-indicator"
588 pref="download.default_directory"> 608 pref="download.default_directory">
589 </span> 609 </span>
590 </div> 610 </div>
591 <div class="checkbox controlled-setting-with-label"> 611 <div class="checkbox controlled-setting-with-label">
592 <label> 612 <label>
593 <input type="checkbox" 613 <input type="checkbox"
594 pref="download.prompt_for_download" 614 pref="download.prompt_for_download"
595 metric="Options_AskForSaveLocation"> 615 metric="Options_AskForSaveLocation">
596 <span i18n-content="downloadLocationAskForSaveLocation"></span> 616 <span>
617 <span i18n-content="downloadLocationAskForSaveLocation"></span>
618 <span class="controlled-setting-indicator"
619 pref="download.prompt_for_download"></span>
620 </span>
597 </label> 621 </label>
598 <span class="controlled-setting-indicator"
599 pref="download.prompt_for_download"></span>
600 </div> 622 </div>
601 <if expr="chromeos"> 623 <if expr="chromeos">
602 <div class="checkbox controlled-setting-with-label" 624 <div class="checkbox controlled-setting-with-label"
603 id="disable-drive-row" guest-visibility="disabled"> 625 id="disable-drive-row" guest-visibility="disabled">
604 <label> 626 <label>
605 <input type="checkbox" 627 <input type="checkbox"
606 pref="gdata.disabled" 628 pref="gdata.disabled"
607 metric="Options_DisableGData"> 629 metric="Options_DisableGData">
608 <span i18n-content="disableGData"></span> 630 <span>
631 <span i18n-content="disableGData"></span>
632 <span class="controlled-setting-indicator" pref="gdata.disabled">
633 </span>
634 </span>
609 </label> 635 </label>
610 <span class="controlled-setting-indicator" pref="gdata.disabled">
611 </span>
612 </div> 636 </div>
613 </if> 637 </if>
614 <div id="auto-open-file-types-section" hidden> 638 <div id="auto-open-file-types-section" hidden>
615 <div id="auto-open-file-types-container"> 639 <div id="auto-open-file-types-container">
616 <div id="auto-open-file-types-label" class="settings-row" 640 <div id="auto-open-file-types-label" class="settings-row"
617 i18n-content="autoOpenFileTypesInfo"></div> 641 i18n-content="autoOpenFileTypesInfo"></div>
618 <div class="settings-row"> 642 <div class="settings-row">
619 <button id="autoOpenFileTypesResetToDefault" 643 <button id="autoOpenFileTypesResetToDefault"
620 i18n-content="autoOpenFileTypesResetToDefault"></button> 644 i18n-content="autoOpenFileTypesResetToDefault"></button>
621 </div> 645 </div>
(...skipping 17 matching lines...) Expand all
639 <h3 i18n-content="advancedSectionTitleCloudPrint"></h3> 663 <h3 i18n-content="advancedSectionTitleCloudPrint"></h3>
640 <div class="settings-row"> 664 <div class="settings-row">
641 <span i18n-content="cloudPrintOptionLabel"></span> 665 <span i18n-content="cloudPrintOptionLabel"></span>
642 <a target="_blank" i18n-content="learnMore" 666 <a target="_blank" i18n-content="learnMore"
643 i18n-values="href:cloudPrintLearnMoreURL"></a> 667 i18n-values="href:cloudPrintLearnMoreURL"></a>
644 </div> 668 </div>
645 <button id="cloudPrintDevicesPageButton" 669 <button id="cloudPrintDevicesPageButton"
646 i18n-content="cloudPrintDevicesPageButton"> 670 i18n-content="cloudPrintDevicesPageButton">
647 </button> 671 </button>
648 672
649 <div class="checkbox controlled-setting-with-label" 673 <div class="settings-row checkbox controlled-setting-with-label"
650 i18n-values=".hidden: cloudPrintHideNotificationsCheckbox"> 674 i18n-values=".hidden: cloudPrintHideNotificationsCheckbox">
651 <label> 675 <label>
652 <input id="local-discovery-notifications-enabled" 676 <input id="local-discovery-notifications-enabled"
653 pref="local_discovery.notifications_enabled" 677 pref="local_discovery.notifications_enabled"
654 type="checkbox" 678 type="checkbox"
655 metric="LocalDiscoveryNotificationsDisabled_Settings"> 679 metric="LocalDiscoveryNotificationsDisabled_Settings">
656 <span i18n-content="cloudPrintEnableNotificationsLabel"></span> 680 <span>
681 <span i18n-content="cloudPrintEnableNotificationsLabel"></span>
682 <span class="controlled-setting-indicator"
683 pref="local_discovery.notifications_enabled"></span>
684 </span>
657 </label> 685 </label>
658 <span class="controlled-setting-indicator"
659 pref="local_discovery.notifications_enabled"></span>
660 </div> 686 </div>
661 </section> 687 </section>
662 </if> 688 </if>
663 689
664 <if expr="chromeos"> 690 <if expr="chromeos">
665 <include src="startup_section.html"> 691 <include src="startup_section.html">
666 <section> 692 <section>
667 <h3 i18n-content="accessibilityTitle"></h3> 693 <h3 i18n-content="accessibilityTitle"></h3>
668 <div class="option-control-table"> 694 <div class="option-control-table">
669 <p id="accessibility-explanation" class="settings-row"> 695 <p id="accessibility-explanation" class="settings-row">
670 <span i18n-content="accessibilityExplanation"></span> 696 <span i18n-content="accessibilityExplanation"></span>
671 <a id="accessibility-learn-more" target="_blank" 697 <a id="accessibility-learn-more" target="_blank"
672 i18n-content="learnMore"></a> 698 i18n-content="learnMore"></a>
673 </p> 699 </p>
674 <div class="option-name"> 700 <div class="option-name">
675 <div class="checkbox controlled-setting-with-label"> 701 <div class="checkbox controlled-setting-with-label">
676 <label> 702 <label>
677 <input 703 <input
678 pref="settings.a11y.enable_menu" type="checkbox" 704 pref="settings.a11y.enable_menu" type="checkbox"
679 metric="Options_AccessibilitySystemMenu"> 705 metric="Options_AccessibilitySystemMenu">
680 <span i18n-content="accessibilityAlwaysShowMenu"></span> 706 <span>
707 <span i18n-content="accessibilityAlwaysShowMenu"></span>
708 <span class="controlled-setting-indicator"
709 pref="settings.a11y.enable_menu"></span>
710 </span>
681 </label> 711 </label>
682 <span class="controlled-setting-indicator"
683 pref="settings.a11y.enable_menu"></span>
684 </div> 712 </div>
685 </div> 713 </div>
686 <div class="option-name"> 714 <div class="option-name">
687 <div class="checkbox controlled-setting-with-label"> 715 <div class="checkbox controlled-setting-with-label">
688 <label> 716 <label>
689 <input 717 <input
690 pref="settings.a11y.large_cursor_enabled" type="checkbox" 718 pref="settings.a11y.large_cursor_enabled" type="checkbox"
691 metric="Options_AccessibilityLargeMouseCursor"> 719 metric="Options_AccessibilityLargeMouseCursor">
692 <span i18n-content="accessibilityLargeCursor"></span> 720 <span>
721 <span i18n-content="accessibilityLargeCursor"></span>
722 <span class="controlled-setting-indicator"
723 pref="settings.a11y.large_cursor_enabled"></span>
724 </span>
693 </label> 725 </label>
694 <span class="controlled-setting-indicator"
695 pref="settings.a11y.large_cursor_enabled"></span>
696 </div> 726 </div>
697 </div> 727 </div>
698 <div class="option-name"> 728 <div class="option-name">
699 <div class="checkbox controlled-setting-with-label"> 729 <div class="checkbox controlled-setting-with-label">
700 <label> 730 <label>
701 <input id="accessibility-high-contrast-check" 731 <input id="accessibility-high-contrast-check"
702 pref="settings.a11y.high_contrast_enabled" type="checkbox" 732 pref="settings.a11y.high_contrast_enabled" type="checkbox"
703 metric="Options_AccessibilityHighContrastMode"> 733 metric="Options_AccessibilityHighContrastMode">
704 <span i18n-content="accessibilityHighContrast"></span> 734 <span>
735 <span i18n-content="accessibilityHighContrast"></span>
736 <span class="controlled-setting-indicator"
737 pref="settings.a11y.high_contrast_enabled"></span>
738 </span>
705 </label> 739 </label>
706 <span class="controlled-setting-indicator"
707 pref="settings.a11y.high_contrast_enabled">
708 </span>
709 </div> 740 </div>
710 </div> 741 </div>
711 <div id="accessibility-sticky-keys" class="option-name"> 742 <div id="accessibility-sticky-keys" class="option-name">
712 <div class="checkbox controlled-setting-with-label"> 743 <div class="checkbox controlled-setting-with-label">
713 <label> 744 <label>
714 <input id="accessibility-sticky-keys-check" 745 <input id="accessibility-sticky-keys-check"
715 pref="settings.a11y.sticky_keys_enabled" type="checkbox" 746 pref="settings.a11y.sticky_keys_enabled" type="checkbox"
716 metric="Options_AccessibilityStickyKeys"> 747 metric="Options_AccessibilityStickyKeys">
717 <span i18n-content="accessibilityStickyKeys"></span> 748 <span>
749 <span i18n-content="accessibilityStickyKeys"></span>
750 <span class="controlled-setting-indicator"
751 pref="settings.a11y.sticky_keys_enabled"></span>
752 </span>
718 </label> 753 </label>
719 <span class="controlled-setting-indicator"
720 pref="settings.a11y.sticky_keys_enabled"></span>
721 </span>
722 </div> 754 </div>
723 </div> 755 </div>
724 <div class="option-name"> 756 <div class="option-name">
725 <div class="checkbox controlled-setting-with-label"> 757 <div class="checkbox controlled-setting-with-label">
726 <label> 758 <label>
727 <input id="accessibility-spoken-feedback-check" 759 <input id="accessibility-spoken-feedback-check"
728 pref="settings.accessibility" type="checkbox" 760 pref="settings.accessibility" type="checkbox"
729 metric="Options_AccessibilitySpokenFeedback"> 761 metric="Options_AccessibilitySpokenFeedback">
730 <span i18n-content="accessibilitySpokenFeedback"></span> 762 <span>
763 <span i18n-content="accessibilitySpokenFeedback"></span>
764 <span class="controlled-setting-indicator"
765 pref="settings.accessibility"></span>
766 </span>
731 </label> 767 </label>
732 <span class="controlled-setting-indicator"
733 pref="settings.accessibility">
734 </span>
735 <div id="accessibility-settings" hidden> 768 <div id="accessibility-settings" hidden>
736 <button id="accessibility-settings-button" 769 <button id="accessibility-settings-button"
737 i18n-content="accessibilitySettings"></button> 770 i18n-content="accessibilitySettings"></button>
738 </div> 771 </div>
739 </div> 772 </div>
740 </div> 773 </div>
741 <div class="option-name"> 774 <div class="option-name">
742 <div class="checkbox controlled-setting-with-label"> 775 <div class="checkbox controlled-setting-with-label">
776 <label>
743 <input 777 <input
744 pref="settings.a11y.screen_magnifier" type="checkbox" 778 pref="settings.a11y.screen_magnifier" type="checkbox"
745 metric="Options_AccessibilityScreenMagnifier"> 779 metric="Options_AccessibilityScreenMagnifier">
746 <span i18n-content="accessibilityScreenMagnifier"></span> 780 <span>
781 <span i18n-content="accessibilityScreenMagnifier"></span>
782 <span class="controlled-setting-indicator"
783 pref="settings.a11y.screen_magnifier"></span>
784 </span>
747 </label> 785 </label>
748 <span class="controlled-setting-indicator"
749 pref="settings.a11y.screen_magnifier"></span>
750 </div> 786 </div>
751 </div> 787 </div>
752 <div class="option-name" id="accessibility-tap-dragging"> 788 <div class="option-name" id="accessibility-tap-dragging">
753 <div class="checkbox"> 789 <div class="checkbox">
754 <label> 790 <label>
755 <input id="accessibility-tap-dragging-check" 791 <input id="accessibility-tap-dragging-check"
756 pref="settings.touchpad.enable_tap_dragging" type="checkbox" 792 pref="settings.touchpad.enable_tap_dragging" type="checkbox"
757 metric="Options_AccessibilityTapDragging"> 793 metric="Options_AccessibilityTapDragging">
758 <span i18n-content="accessibilityTapDragging"></span> 794 <span i18n-content="accessibilityTapDragging"></span>
759 </label> 795 </label>
760 </div> 796 </div>
761 </div> 797 </div>
762 <div class="option-name" id="accessibility-autoclick"> 798 <div class="option-name" id="accessibility-autoclick">
763 <div class="checkbox"> 799 <div class="checkbox controlled-setting-with-label">
764 <span class="controlled-setting-with-label"> 800 <label>
765 <input id="accessibility-autoclick-check" 801 <input id="accessibility-autoclick-check"
766 pref="settings.a11y.autoclick" type="checkbox"> 802 pref="settings.a11y.autoclick" type="checkbox">
767 <span> 803 <span>
768 <div> 804 <span i18n-content="accessibilityAutoclick"></span>
769 <div> 805 <span class="controlled-setting-indicator"
770 <label for="accessibility-autoclick-check" 806 pref="settings.a11y.autoclick"></span>
771 i18n-content="accessibilityAutoclick">
772 </label>
773 <span class="controlled-setting-indicator"
774 pref="settings.a11y.autoclick">
775 </span>
776 </div>
777 <div>
778 <label for="accessibility-autoclick-dropdown"
779 i18n-content="accessibilityAutoclickDropdown">
780 </label>
781 <select id="accessibility-autoclick-dropdown" class="control"
782 data-type="number"
783 pref="settings.a11y.autoclick_delay_ms">
784 <option value="200"
785 i18n-content="autoclickDelayExtremelyShort"></option>
786 <option value="400"
787 i18n-content="autoclickDelayVeryShort"></option>
788 <option value="600" i18n-content="autoclickDelayShort">
789 </option>
790 <option value="800" i18n-content="autoclickDelayLong">
791 </option>
792 <option value="1000"
793 i18n-content="autoclickDelayVeryLong"></option>
794 </select>
795 <span class="controlled-setting-indicator"
796 pref="settings.a11y.autoclick_delay_ms">
797 </span>
798 </div>
799 </div>
800 </span> 807 </span>
801 </span> 808 </label>
809 </div>
810 <div>
811 <!-- No whitespace between elements. -->
Dan Beam 2014/09/08 17:52:54 ^ why is this necessary?
Evan Stade 2014/09/08 18:23:00 This change was part of a different CL, but the an
812 <input type="checkbox" class="spacer-checkbox"><span
813 id="accessibility-autoclick-label"
814 i18n-content="accessibilityAutoclickDropdown">
815 </span><select id="accessibility-autoclick-dropdown" class="control"
816 data-type="number"
817 aria-labelledby="accessibility-autoclick-label"
818 pref="settings.a11y.autoclick_delay_ms">
819 <option value="200"
820 i18n-content="autoclickDelayExtremelyShort"></option>
821 <option value="400"
822 i18n-content="autoclickDelayVeryShort"></option>
823 <option value="600" i18n-content="autoclickDelayShort">
824 </option>
825 <option value="800" i18n-content="autoclickDelayLong">
826 </option>
827 <option value="1000"
828 i18n-content="autoclickDelayVeryLong"></option>
829 </select>
830 <span class="controlled-setting-indicator"
831 pref="settings.a11y.autoclick_delay_ms"></span>
802 </div> 832 </div>
803 </div> 833 </div>
804 <div class="option_name" id="accessibility_onscreen_keyboard"> 834 <div class="option_name" id="accessibility_onscreen_keyboard">
805 <div class="checkbox controlled-setting-with-label"> 835 <div class="checkbox controlled-setting-with-label">
806 <label> 836 <label>
807 <input pref="settings.a11y.virtual_keyboard" type="checkbox" 837 <input pref="settings.a11y.virtual_keyboard" type="checkbox"
808 metric="Options_AccessibilityOnScreenKeyboard"> 838 metric="Options_AccessibilityOnScreenKeyboard">
809 <span i18n-content="accessibilityVirtualKeyboard"></span> 839 <span>
840 <span i18n-content="accessibilityVirtualKeyboard"></span>
841 <span class="controlled-setting-indicator"
842 pref="settings.a11y.virtual_keyboard"></span>
843 </span>
810 </label> 844 </label>
811 <span class="controlled-setting-indicator"
812 pref="settings.a11y.virtual_keyboard">
813 </span>
814 </div> 845 </div>
815 </div> 846 </div>
816 </section> 847 </section>
817 <if expr="chromeos"> 848 <if expr="chromeos">
818 <section id="factory-reset-section" hidden> 849 <section id="factory-reset-section" hidden>
819 <h3 i18n-content="factoryResetTitle"></h3> 850 <h3 i18n-content="factoryResetTitle"></h3>
820 <div> 851 <div>
821 <span class="settings-row" i18n-content="factoryResetDescription"> 852 <span class="settings-row" i18n-content="factoryResetDescription">
822 </span> 853 </span>
823 <button id="factory-reset-restart" 854 <button id="factory-reset-restart"
824 i18n-content="factoryResetRestart"> 855 i18n-content="factoryResetRestart">
825 </button> 856 </button>
826 </div> 857 </div>
827 </section> 858 </section>
828 </if> 859 </if>
829 </if> 860 </if>
830 <if expr="not chromeos"> 861 <if expr="not chromeos">
831 <section id="system-section"> 862 <section id="system-section">
832 <h3 i18n-content="advancedSectionTitleSystem"></h3> 863 <h3 i18n-content="advancedSectionTitleSystem"></h3>
833 <if expr="not is_macosx"> 864 <if expr="not is_macosx">
834 <div class="checkbox controlled-setting-with-label"> 865 <div class="checkbox controlled-setting-with-label">
835 <label> 866 <label>
836 <input pref="background_mode.enabled" 867 <input pref="background_mode.enabled"
837 type="checkbox"> 868 type="checkbox">
838 <span i18n-content="backgroundModeCheckbox"></span> 869 <span>
870 <span i18n-content="backgroundModeCheckbox"></span>
871 <span class="controlled-setting-indicator"
872 pref="background_mode.enabled"></span>
873 </span>
839 </label> 874 </label>
840 <span class="controlled-setting-indicator"
841 pref="background_mode.enabled"></span>
842 </div> 875 </div>
843 </if> 876 </if>
844 <div class="checkbox controlled-setting-with-label"> 877 <div class="checkbox controlled-setting-with-label">
845 <label> 878 <label>
846 <input id="gpu-mode-checkbox" 879 <input id="gpu-mode-checkbox"
847 pref="hardware_acceleration_mode.enabled" type="checkbox"> 880 pref="hardware_acceleration_mode.enabled" type="checkbox">
848 <span i18n-content="gpuModeCheckbox"> 881 <span i18n-content="gpuModeCheckbox">
849 </label> 882 </label>
850 <span id="gpu-mode-reset-restart" 883 <span id="gpu-mode-reset-restart"
851 i18n-values=".innerHTML:gpuModeResetRestart"></span> 884 i18n-values=".innerHTML:gpuModeResetRestart"></span>
(...skipping 15 matching lines...) Expand all
867 <button id="advanced-settings-expander" class="link-button" 900 <button id="advanced-settings-expander" class="link-button"
868 i18n-content="showAdvancedSettings"> 901 i18n-content="showAdvancedSettings">
869 </button> 902 </button>
870 <if expr="chromeos"> 903 <if expr="chromeos">
871 <button id="version-button" class="link-button" hidden 904 <button id="version-button" class="link-button" hidden
872 i18n-content="browserVersion"> 905 i18n-content="browserVersion">
873 </button> 906 </button>
874 </if> 907 </if>
875 </footer> 908 </footer>
876 </div> 909 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698