| <div class="page hidden" id="browserPage"> |
| <h1 i18n-content="browserPage"></h1> |
| <section id="startupSection"> |
| <h3 i18n-content="startupGroupName"></h3> |
| <div> |
| <label class="radio"><input type="radio" name="startup" |
| pref="session.restore_on_startup" value="0" |
| metric="Options_Startup_Homepage"> |
| <span i18n-content="startupShowDefaultAndNewTab"></span></label> |
| <label class="radio"><input type="radio" name="startup" |
| pref="session.restore_on_startup" value="1" |
| metric="Options_Startup_LastSession"> |
| <span i18n-content="startupShowLastSession"></span></label> |
| <label class="radio"><input type="radio" name="startup" id="startupShowPagesButton" |
| pref="session.restore_on_startup" value="4" |
| metric="Options_Startup_Custom"> |
| <span i18n-content="startupShowPages"></span></label> |
| <div class="suboption"> |
| <div class="left-side-table"> |
| <div> |
| <list id="startupPages"></list> |
| </div> |
| <div> |
| <div><button id="startupAddButton" |
| i18n-content="startupAddButton"></button></div> |
| <div><button id="startupRemoveButton" |
| i18n-content="startupRemoveButton"></button></div> |
| <div><button id="startupUseCurrentButton" |
| i18n-content="startupUseCurrent"></button></div> |
| </div> |
| </div> |
| </div> |
| </div> |
| </section> |
| <section> |
| <h3 i18n-content="homepageGroupName"></h3> |
| <div> |
| <label class="radio"> |
| <input type="radio" name="homepage" id="homepageUseNTPButton" |
| value="true" metric="Options_Homepage_IsNewTabPage"> |
| <span i18n-content="homepageUseNewTab"></span> |
| </label> |
| <div id="customHomePageGroup"> |
| <label class="radio"> |
| <input type="radio" name="homepage" id="homepageUseURLButton" |
| value="false" metric="Options_Homepage_IsNewTabPage"> |
| <span i18n-content="homepageUseURL"></span> |
| </label> |
| <div> |
| <input id="homepageURL" class="favicon-cell" type="url"> |
| </div> |
| </div> |
| </div> |
| </section> |
| <section> |
| <h3 i18n-content="toolbarGroupName"></h3> |
| <div> |
| <div class="option"> |
| <label class="checkbox"> |
| <input id="toolbarShowHomeButton" pref="browser.show_home_button" |
| metric="Options_Homepage_HomeButton" type="checkbox"> |
| <span i18n-content="toolbarShowHomeButton"></span> |
| </label> |
| </div> |
| </div> |
| </section> |
| <section> |
| <h3 i18n-content="defaultSearchGroupName"></h3> |
| <div id="defaultSearchEngineGroup"> |
| <div> |
| <select id="defaultSearchEngine" |
| onchange="BrowserOptions.getInstance().setDefaultSearchEngine()"> |
| </select> |
| <button id="defaultSearchManageEnginesButton" |
| i18n-content="defaultSearchManageEnginesLink"></button> |
| </div> |
| <label class="checkbox" id="instantOption"> |
| <!-- TODO(estade): metric? --> |
| <input type="checkbox" id="instantEnableCheckbox" |
| pref="instant.enabled"> |
| <span i18n-content="instantName"></span> |
| <!-- This hidden checkbox allows us to get/set the state of the |
| confirm_dialog_shown pref --> |
| <input type="checkbox" class="hidden" id="instantDialogShown" |
| pref="instant.confirm_dialog_shown"> |
| </label> |
| <div class="suboption"> |
| <span i18n-content="instantWarningText"></span> |
| <a target="_blank" i18n-values="href:instantLearnMoreLink" |
| i18n-content="learnMore"></a> |
| </div> |
| </div> |
| </section> |
| <if expr="not pp_ifdef('chromeos')"> |
| <section> |
| <h3 i18n-content="defaultBrowserGroupName"></h3> |
| <div> |
| <button id="defaultBrowserUseAsDefaultButton" |
| i18n-content="defaultBrowserUseAsDefault"></button> |
| <div id="defaultBrowserState" |
| i18n-content="defaultBrowserUnknown"></div> |
| </div> |
| </section> |
| </if> |
| </div> |