Index: chrome/browser/resources/options2/personal_options.html |
diff --git a/chrome/browser/resources/options2/personal_options.html b/chrome/browser/resources/options2/personal_options.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..620ec06d0e3c71b414f0023098e83550ac43a569 |
--- /dev/null |
+++ b/chrome/browser/resources/options2/personal_options.html |
@@ -0,0 +1,162 @@ |
+<div id="personal-page" class="page" hidden> |
+ <h1 i18n-content="personalPage"></h1> |
+ <div class="displaytable"> |
+<if expr="pp_ifdef('chromeos')"> |
+ <section> |
+ <h3 i18n-content="account"></h3> |
+ <div> |
+ <span id="account-picture-wrapper"> |
+ <img id="account-picture" |
+ src="chrome://theme/IDR_PROFILE_PICTURE_LOADING"> |
+ </span> |
+ <label> |
+ <input id="enable-screen-lock" type="checkbox" |
+ pref="settings.enable_screen_lock"> |
+ <span i18n-content="enableScreenlock"></span> |
+ </label> |
+ <br> |
+ <button id="change-picture-button" i18n-content="changePicture"> |
+ </button> |
+ </div> |
+ </section> |
+</if> |
+ <section id="sync-section"> |
+ <h3 i18n-content="syncSection"></h3> |
+ <div> |
+ <div id="sync-overview" hidden> |
+ <span i18n-content="syncOverview"></span> |
+ <a i18n-values="href:syncLearnMoreURL" i18n-content="learnMore"></a> |
+ </div> |
+ <div id="sync-status" hidden> |
+ <span id="sync-status-text"></span> |
+ <button id="sync-action-link" class="link-button"></button> |
+ </div> |
+ <div id="sync-buttons"> |
+ <button id="start-stop-sync" hidden></button> |
+ <button id="customize-sync" i18n-content="customizeSync" hidden> |
+ </button> |
+ <div id="enable-auto-login-checkbox" class="checkbox" hidden> |
+ <label> |
+ <input id="enable-auto-login" pref="autologin.enabled" |
+ metric="Options_Autologin" type="checkbox"> |
+ <span i18n-content="autologinEnabled"></span> |
+ </label> |
+ </div> |
+ </div> |
+ </div> |
+ </section> |
+ <section id="profiles-section" hidden> |
+ <h3 i18n-content="profiles"></h3> |
+ <div> |
+ <list id="profiles-list" class="settings-list" hidden></list> |
+ <div id="profiles-single-message" i18n-content="profilesSingleUser"> |
+ </div> |
+ <div id="profiles-buttons"> |
+ <button id="profiles-create" i18n-content="profilesCreate"></button> |
+ <button id="profiles-manage" i18n-content="profilesManage" disabled> |
+ </button> |
+ <button id="profiles-delete" i18n-content="profilesDelete"> |
+ </button> |
+ </div> |
+ </div> |
+ </section> |
+ <section> |
+ <h3 i18n-content="passwords"></h3> |
+ <div> |
+ <div class="radio"> |
+ <label> |
+ <input id="passwords-offersave" type="radio" name="passwords_radio" |
+ value="true" pref="profile.password_manager_enabled" |
+ metric="Options_PasswordManager"> |
+ <span i18n-content="passwordsAskToSave"></span> |
+ </label> |
+ </div> |
+ <div class="radio"> |
+ <label> |
+ <input id="passwords-neversave" type="radio" name="passwords_radio" |
+ value="false" pref="profile.password_manager_enabled" |
+ metric="Options_PasswordManager"> |
+ <span i18n-content="passwordsNeverSave"></span> |
+ </label> |
+ </div> |
+ <div><button id="manage-passwords" i18n-content="manage_passwords" |
+ pref="profile.password_manager_enabled"></button></div> |
+ <div id="mac-passwords-warning" i18n-content="macPasswordsWarning" |
+ hidden></div> |
+ <!-- This makes the managed-banner appear when the "pref" is |
+ configured by the IT administrator. --> |
+ <input name="password_allow_show_hidden" type="text" |
+ pref="profile.password_manager_allow_show_passwords" hidden> |
+ </div> |
+ </section> |
+ <section id="autofill-section"> |
+ <h3 i18n-content="autofill"></h3> |
+ <div> |
+ <div class="checkbox"> |
+ <label> |
+ <input id="autofill-enabled" pref="autofill.enabled" |
+ metric="Options_FormAutofill" type="checkbox"> |
+ <span i18n-content="autofillEnabled"></span> |
+ </label> |
+ </div> |
+ <button id="autofill-settings" pref="autofill.enabled" |
+ i18n-content="manageAutofillSettings"></button> |
+ </div> |
+ </section> |
+<if expr="not pp_ifdef('chromeos')"> |
+ <section> |
+ <h3 i18n-content="browsingData"></h3> |
+ <div> |
+ <button id="import-data" i18n-content="importData"></button> |
+ </div> |
+ </section> |
+</if> |
+<if expr="not pp_ifdef('toolkit_views') and is_posix and not is_macosx"> |
+ <section> |
+ <h3 i18n-content="appearance"></h3> |
+ <div> |
+ <div> |
+ <button id="themes-GTK-button" |
+ i18n-content="themesGTKButton"></button> |
+ <button id="themes-reset" |
+ i18n-content="themesSetClassic"></button> |
+ </div> |
+ <div id="themes-gallery-div"> |
+ <a id="themes-gallery" i18n-content="themesGallery" |
+ i18n-values="href:themesGalleryURL" target="_blank"></a> |
+ </div> |
+ <div class="radio"> |
+ <label> |
+ <input name="decorations_radio" |
+ pref="browser.custom_chrome_frame" |
+ type="radio" value="false" metric="Options_CustomFrame"> |
+ <span i18n-content="showWindowDecorations"></span> |
+ </label> |
+ </div> |
+ <div class="radio"> |
+ <label> |
+ <input name="decorations_radio" |
+ pref="browser.custom_chrome_frame" |
+ type="radio" value="true" metric="Options_CustomFrame"> |
+ <span i18n-content="hideWindowDecorations"></span> |
+ </label> |
+ </div> |
+ </div> |
+ </section> |
+</if> |
+<if expr="pp_ifdef('toolkit_views') or os == 'win32' or os == 'darwin'"> |
+ <section> |
+ <h3 i18n-content="themes"></h3> |
+ <div> |
+ <div> |
+ <button id="themes-reset" i18n-content="themesReset"></button> |
+ </div> |
+ <div id="themes-gallery-div"> |
+ <a id="themes-gallery" i18n-content="themesGallery" |
+ i18n-values="href:themesGalleryURL" target="_blank"></a> |
+ </div> |
+ </div> |
+ </section> |
+</if> |
+ </div> |
+</div> |