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> |
(...skipping 28 matching lines...) Expand all Loading... |
39 <section> | 39 <section> |
40 <h3 i18n-content="sectionTitleInternet"></h3> | 40 <h3 i18n-content="sectionTitleInternet"></h3> |
41 <div> | 41 <div> |
42 <button id="internet-options-button" | 42 <button id="internet-options-button" |
43 i18n-content="internetOptionsButtonTitle"> | 43 i18n-content="internetOptionsButtonTitle"> |
44 </button> | 44 </button> |
45 </div> | 45 </div> |
46 </section> | 46 </section> |
47 </if> | 47 </if> |
48 <if expr="not pp_ifdef('chromeos')"> | 48 <if expr="not pp_ifdef('chromeos')"> |
49 <!-- This section is temporarily duplicated down below for ChromeOS. --> | 49 <!-- This section is duplicated below for ChromeOS. Both sections must stay |
| 50 in sync. --> |
50 <section id="startup-section"> | 51 <section id="startup-section"> |
51 <h3 i18n-content="sectionTitleStartup"></h3> | 52 <h3 i18n-content="sectionTitleStartup"></h3> |
52 <div> | 53 <div> |
53 <div class="radio"> | 54 <div class="radio"> |
54 <label> | 55 <label> |
55 <input type="radio" name="startup" value="0" | 56 <input type="radio" name="startup" value="0" |
56 pref="session.restore_on_startup" | 57 pref="session.restore_on_startup" |
57 metric="Options_Startup_Homepage"> | 58 metric="Options_Startup_Homepage"> |
58 <span i18n-content="startupShowHomePage"></span> | 59 <span i18n-content="startupShowHomePage"></span> |
59 </label> | 60 </label> |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 </div> | 268 </div> |
268 <div id="auto-launch-option" class="checkbox" hidden> | 269 <div id="auto-launch-option" class="checkbox" hidden> |
269 <label id="auto-launch-label"> | 270 <label id="auto-launch-label"> |
270 <input id="auto-launch" type="checkbox"> | 271 <input id="auto-launch" type="checkbox"> |
271 <span i18n-content="autoLaunchText"></span> | 272 <span i18n-content="autoLaunchText"></span> |
272 </label> | 273 </label> |
273 </div> | 274 </div> |
274 </div> | 275 </div> |
275 </section> | 276 </section> |
276 </if> | 277 </if> |
| 278 <div id="advanced-settings"> |
| 279 <div id="advanced-settings-container"> |
277 <if expr="pp_ifdef('chromeos')"> | 280 <if expr="pp_ifdef('chromeos')"> |
278 <!-- This section is temporarily duplicated here for ChromeOS. --> | 281 <section> |
279 <!-- TODO(csilv): Move to 'Under the Hood' for ChromeOS only. --> | 282 <h3 i18n-content="datetimeTitle"></h3> |
280 <!-- http://crbug.com/110527 --> | 283 <div class="option-control-table"> |
| 284 <span class="option-name" i18n-content="timezone"></span> |
| 285 <div id="timezone-value"> |
| 286 <select id="timezone-select" class="control" i18n-options="timezoneList" |
| 287 data-type="string" pref="cros.system.timezone"></select> |
| 288 </div> |
| 289 <div class="checkbox"> |
| 290 <label> |
| 291 <input id="use-24hour-clock" pref="settings.clock.use_24hour_clock" |
| 292 type="checkbox"> |
| 293 <span i18n-content="use24HourClock"></span> |
| 294 </label> |
| 295 </div> |
| 296 </div> |
| 297 </section> |
| 298 </if> |
| 299 <section> |
| 300 <h3 i18n-content="advancedSectionTitlePrivacy"></h3> |
| 301 <div> |
| 302 <div class="settings-row"> |
| 303 <button id="privacyContentSettingsButton" |
| 304 i18n-content="privacyContentSettingsButton"></button> |
| 305 <button id="privacyClearDataButton" |
| 306 i18n-content="privacyClearDataButton"></button> |
| 307 </div> |
| 308 <div id="privacy-explanation" class="settings-row"> |
| 309 <span i18n-content="improveBrowsingExperience" |
| 310 class="informational-text"> |
| 311 </span> |
| 312 <span i18n-content="disableWebServices" |
| 313 class="informational-text"> |
| 314 </span> |
| 315 <a target="_blank" i18n-content="learnMore" |
| 316 i18n-values="href:privacyLearnMoreURL"></a> |
| 317 </div> |
| 318 <div class="checkbox"> |
| 319 <label> |
| 320 <input id="alternateErrorPagesEnabled" |
| 321 pref="alternate_error_pages.enabled" |
| 322 metric="Options_LinkDoctorCheckbox" type="checkbox"> |
| 323 <span i18n-content="linkDoctorPref"></span> |
| 324 </label> |
| 325 </div> |
| 326 <div class="checkbox"> |
| 327 <label> |
| 328 <input id="searchSuggestEnabled" pref="search.suggest_enabled" |
| 329 metric="Options_UseSuggestCheckbox" type="checkbox"> |
| 330 <span i18n-content="suggestPref"></span> |
| 331 </label> |
| 332 </div> |
| 333 <div class="checkbox"> |
| 334 <label> |
| 335 <input id="dnsPrefetchingEnabled" pref="dns_prefetching.enabled" |
| 336 metric="Options_DnsPrefetchCheckbox" type="checkbox"> |
| 337 <span i18n-content="networkPredictionEnabledDescription"></span> |
| 338 </label> |
| 339 </div> |
| 340 <div class="checkbox"> |
| 341 <label> |
| 342 <input id="safeBrowsingEnabled" pref="safebrowsing.enabled" |
| 343 metric="Options_SafeBrowsingCheckbox" type="checkbox"> |
| 344 <span i18n-content="safeBrowsingEnableProtection"></span> |
| 345 </label> |
| 346 </div> |
| 347 <if expr="pp_ifdef('_google_chrome') and pp_ifdef('chromeos')"> |
| 348 <div id="metricsReportingSetting" class="checkbox"> |
| 349 <label> |
| 350 <input id="metricsReportingEnabled" |
| 351 pref="cros.metrics.reportingEnabled" type="checkbox"> |
| 352 <span id="metricsReportingEnabledText" |
| 353 i18n-content="enableLogging"> |
| 354 </span> |
| 355 </label> |
| 356 </div> |
| 357 </if> |
| 358 <if expr="pp_ifdef('_google_chrome') and not pp_ifdef('chromeos')"> |
| 359 <div id="metricsReportingSetting" class="checkbox"> |
| 360 <label> |
| 361 <input id="metricsReportingEnabled" type="checkbox"> |
| 362 <span i18n-content="enableLogging"></span> |
| 363 </label> |
| 364 </div> |
| 365 </if> |
| 366 <if expr="pp_ifdef('_google_chrome') and not pp_ifdef('chromeos')"> |
| 367 <div class="checkbox"> |
| 368 <label> |
| 369 <input id="spellingServiceEnabled" |
| 370 pref="spellcheck.use_spelling_service" |
| 371 metric="Options_UseSpellingServiceCheckbox" type="checkbox"> |
| 372 <span i18n-content="spellingPref"></span> |
| 373 </label> |
| 374 </div> |
| 375 </if> |
| 376 </div> |
| 377 </section> |
| 378 <!-- By default, the bluetooth section is hidden. It is only |
| 379 visible if the command line flag 'enable_bluetooth' is set |
| 380 and a bluetooth adapter is discovered or emmulating ChromeOS. --> |
| 381 <if expr="pp_ifdef('chromeos')"> |
| 382 <section id="bluetooth-devices" hidden> |
| 383 <h3 i18n-content="bluetooth"></h3> |
| 384 <div id="bluetooth-options-div"> |
| 385 <div class="checkbox"> |
| 386 <label> |
| 387 <input type="checkbox" id="enable-bluetooth"> |
| 388 <span i18n-content="enableBluetooth"> |
| 389 </label> |
| 390 </div> |
| 391 <div class="settings-list bluetooth-device-list" hidden> |
| 392 <list id="bluetooth-paired-devices-list"></list> |
| 393 <div id="bluetooth-paired-devices-list-empty-placeholder" |
| 394 class="bluetooth-empty-list-label" hidden> |
| 395 <span i18n-content="bluetoothNoDevices"></span> |
| 396 </div> |
| 397 </div> |
| 398 <div id="bluetooth-button-group"> |
| 399 <button id="bluetooth-add-device" |
| 400 i18n-content="addBluetoothDevice" hidden></button> |
| 401 <button id="bluetooth-reconnect-device" |
| 402 i18n-content="bluetoothConnectDevice" disabled hidden></button> |
| 403 </div> |
| 404 </div> |
| 405 </section> |
| 406 </if> |
| 407 <section id="passwords-and-autofill-section"> |
| 408 <h3 i18n-content="passwordsAndAutofillGroupName"></h3> |
| 409 <div class="checkbox"> |
| 410 <label> |
| 411 <input id="autofill-enabled" pref="autofill.enabled" |
| 412 metric="Options_FormAutofill" type="checkbox"> |
| 413 <span i18n-content="autofillEnabled"></span> |
| 414 </label> |
| 415 <button id="autofill-settings" class="link-button" |
| 416 pref="autofill.enabled" |
| 417 i18n-content="manageAutofillSettings"></button> |
| 418 </div> |
| 419 <div class="checkbox"> |
| 420 <label> |
| 421 <input id="password-manager-enabled" |
| 422 pref="profile.password_manager_enabled" |
| 423 metric="Options_PasswordManager" type="checkbox"> |
| 424 <span i18n-content="passwordManagerEnabled"></span> |
| 425 </label> |
| 426 <button id="manage-passwords" class="link-button" |
| 427 i18n-content="managePasswords" |
| 428 pref="profile.password_manager_enabled"></button> |
| 429 </div> |
| 430 <div id="mac-passwords-warning" i18n-content="macPasswordsWarning" hidden> |
| 431 </div> |
| 432 <!-- This makes the managed-banner appear when the "pref" is configured by |
| 433 the IT administrator. --> |
| 434 <input name="password_allow_show_hidden" type="text" |
| 435 pref="profile.password_manager_allow_show_passwords" hidden> |
| 436 </section> |
| 437 <section id="web-content-section"> |
| 438 <h3 i18n-content="advancedSectionTitleContent"></h3> |
| 439 <div> |
| 440 <div class="settings-row"> |
| 441 <label class="web-content-select-label"> |
| 442 <span i18n-content="defaultFontSizeLabel"></span> |
| 443 <select id="defaultFontSize"> |
| 444 <option value="9" i18n-content="fontSizeLabelVerySmall"> |
| 445 </option> |
| 446 <option value="12" i18n-content="fontSizeLabelSmall"></option> |
| 447 <option value="16" i18n-content="fontSizeLabelMedium"></option> |
| 448 <option value="20" i18n-content="fontSizeLabelLarge"></option> |
| 449 <option value="24" i18n-content="fontSizeLabelVeryLarge"> |
| 450 </option> |
| 451 </select> |
| 452 </label> |
| 453 <button id="fontSettingsCustomizeFontsButton" |
| 454 i18n-content="fontSettingsCustomizeFontsButton"></button> |
| 455 </div> |
| 456 <div class="settings-row"> |
| 457 <label class="web-content-select-label"> |
| 458 <span i18n-content="defaultZoomFactorLabel"></span> |
| 459 <select id="defaultZoomFactor" dataType="double"></select> |
| 460 </label> |
| 461 </div> |
| 462 <if expr="is_macosx"> |
| 463 <div class="checkbox"> |
| 464 <label> |
| 465 <input id="tabsToLinksPref" pref="webkit.webprefs.tabs_to_links" |
| 466 metric="Options_TabsToLinks" type="checkbox"> |
| 467 <span i18n-content="tabsToLinksPref"></span> |
| 468 </label> |
| 469 </div> |
| 470 </if> |
| 471 </div> |
| 472 </section> |
| 473 <if expr="not pp_ifdef('chromeos')"> |
| 474 <section> |
| 475 <h3 i18n-content="advancedSectionTitleNetwork"></h3> |
| 476 <div> |
| 477 <span id="proxiesLabel" class="settings-row"></span> |
| 478 <div class="settings-row"> |
| 479 <button id="proxiesConfigureButton" |
| 480 i18n-content="proxiesConfigureButton"></button> |
| 481 </div> |
| 482 </div> |
| 483 </section> |
| 484 </if> |
| 485 <section> |
| 486 <h3 i18n-content="advancedSectionTitleLanguages"></h3> |
| 487 <span class="settings-row" i18n-content="languageSectionLabel"></span> |
| 488 <button id="language-button" |
| 489 i18n-content="languageAndSpellCheckSettingsButton"></button> |
| 490 <div class="checkbox"> |
| 491 <label> |
| 492 <input id="enableTranslate" pref="translate.enabled" |
| 493 metric="Options_Translate" type="checkbox"> |
| 494 <span i18n-content="translateEnableTranslate"></span> |
| 495 </label> |
| 496 </div> |
| 497 </section> |
| 498 <if expr="not pp_ifdef('chromeos')"> |
| 499 <section> |
| 500 <h3 i18n-content="downloadLocationGroupName"></h3> |
| 501 <div> |
| 502 <div class="settings-row"> |
| 503 <label> |
| 504 <span i18n-content="downloadLocationBrowseTitle"></span> |
| 505 <input id="downloadLocationPath" class="weakrtl" type="text" |
| 506 pref="download.default_directory" size="36"> |
| 507 </label> |
| 508 <button id="downloadLocationChangeButton" |
| 509 pref="download.prompt_for_download" |
| 510 i18n-content="downloadLocationChangeButton"></button> |
| 511 </div> |
| 512 <div class="checkbox"> |
| 513 <label> |
| 514 <input type="checkbox" |
| 515 pref="download.prompt_for_download" |
| 516 metric="Options_AskForSaveLocation"> |
| 517 <span i18n-content="downloadLocationAskForSaveLocation"></span> |
| 518 </label> |
| 519 </div> |
| 520 <div id="auto-open-file-types-label" class="settings-row" |
| 521 i18n-content="autoOpenFileTypesInfo"></div> |
| 522 <div class="settings-row"> |
| 523 <button id="autoOpenFileTypesResetToDefault" |
| 524 i18n-content="autoOpenFileTypesResetToDefault"></button> |
| 525 </div> |
| 526 </div> |
| 527 </section> |
| 528 </if> |
| 529 <section> |
| 530 <h3 i18n-content="advancedSectionTitleSecurity"></h3> |
| 531 <div> |
| 532 <div class="settings-row"> |
| 533 <button id="certificatesManageButton" |
| 534 i18n-content="certificatesManageButton"></button> |
| 535 </div> |
| 536 <div class="checkbox"> |
| 537 <label> |
| 538 <input id="sslCheckRevocation" type="checkbox"> |
| 539 <span i18n-content="sslCheckRevocation"></span> |
| 540 </label> |
| 541 </div> |
| 542 </div> |
| 543 </section> |
| 544 <if expr="not pp_ifdef('chromeos')"> |
| 545 <section id="cloud-print-connector-section"> |
| 546 <h3 i18n-content="advancedSectionTitleCloudPrint"></h3> |
| 547 <div> |
| 548 <span id="cloudPrintConnectorLabel" class="settings-row" |
| 549 i18n-content="cloudPrintConnectorDisabledLabel"></span> |
| 550 <div class="settings-row"> |
| 551 <button id="cloudPrintConnectorSetupButton" |
| 552 i18n-content="cloudPrintConnectorDisabledButton"></button> |
| 553 <button id="cloudPrintManageButton" |
| 554 i18n-content="cloudPrintConnectorEnabledManageButton"></button> |
| 555 </div> |
| 556 </div> |
| 557 </section> |
| 558 </if> |
| 559 <if expr="pp_ifdef('chromeos')"> |
| 560 <section id="cloud-print-connector-section"> |
| 561 <h3 i18n-content="advancedSectionTitleCloudPrint"></h3> |
| 562 <div> |
| 563 <div> |
| 564 <span i18n-content="cloudPrintChromeosOptionLabel" |
| 565 class="informational-text"> |
| 566 </span> |
| 567 <a target="_blank" i18n-content="learnMore" |
| 568 i18n-values="href:cloudPrintLearnMoreURL"></a> |
| 569 </div> |
| 570 <div class="settings-row"> |
| 571 <button id="cloudPrintManageButton" |
| 572 i18n-content="cloudPrintChromeosOptionButton"></button> |
| 573 </div> |
| 574 </div> |
| 575 </section> |
| 576 <if expr="pp_ifdef('chromeos')"> |
| 577 <!-- This section is duplicated here for ChromeOS. This must stay in sync |
| 578 with the section above. --> |
281 <section id="startup-section"> | 579 <section id="startup-section"> |
282 <h3 i18n-content="sectionTitleStartup"></h3> | 580 <h3 i18n-content="sectionTitleStartup"></h3> |
283 <div> | 581 <div> |
284 <div class="radio"> | 582 <div class="radio"> |
285 <label> | 583 <label> |
286 <input type="radio" name="startup" value="0" | 584 <input type="radio" name="startup" value="0" |
287 pref="session.restore_on_startup" | 585 pref="session.restore_on_startup" |
288 metric="Options_Startup_Homepage"> | 586 metric="Options_Startup_Homepage"> |
289 <span i18n-content="startupShowHomePage"></span> | 587 <span i18n-content="startupShowHomePage"></span> |
290 </label> | 588 </label> |
(...skipping 28 matching lines...) Expand all Loading... |
319 <span i18n-content="startupShowPages"></span> | 617 <span i18n-content="startupShowPages"></span> |
320 <button id="startup-set-pages" class="link-button" | 618 <button id="startup-set-pages" class="link-button" |
321 i18n-content="startupSetPages"></button> | 619 i18n-content="startupSetPages"></button> |
322 </span> | 620 </span> |
323 </label> | 621 </label> |
324 </div> | 622 </div> |
325 </div> | 623 </div> |
326 </section> | 624 </section> |
327 </if> | 625 </if> |
328 <section> | 626 <section> |
329 <h3 i18n-content="sectionTitleAdvanced"></h3> | 627 <h3 i18n-content="accessibilityTitle"></h3> |
330 <div> | 628 <div class="option-control-table"> |
331 <button id="advanced-settings" | 629 <div class="option-name"> |
332 i18n-content="advancedSettings"> | 630 <div class="checkbox"> |
333 </button> | 631 <label> |
| 632 <input id="accessibility-spoken-feedback-check" type="checkbox"> |
| 633 <span i18n-content="accessibilitySpokenFeedback"></span> |
| 634 </label> |
| 635 </div> |
| 636 </div> |
334 </div> | 637 </div> |
335 </section> | 638 </section> |
| 639 </if> |
| 640 <if expr="not is_macosx and not pp_ifdef('chromeos')"> |
| 641 <section id="background-section"> |
| 642 <h3 i18n-content="advancedSectionTitleBackground"></h3> |
| 643 <div class="checkbox"> |
| 644 <label> |
| 645 <input id="backgroundModeCheckbox" type="checkbox"> |
| 646 <span i18n-content="backgroundModeCheckbox"></span> |
| 647 </label> |
| 648 </div> |
| 649 </section> |
| 650 </if> |
| 651 </div> <!-- advanced-settings-container --> |
| 652 </div> <!-- advanced-settings --> |
| 653 <footer> |
| 654 <button id="advanced-settings-expander" class="link-button" |
| 655 i18n-content="showAdvancedSettings"> |
| 656 </button> |
| 657 </footer> |
336 </div> | 658 </div> |
OLD | NEW |