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