Home | History | Annotate | Download | only in options
      1 <div id="browserPage" class="page hidden">
      2   <h1 i18n-content="browserPage"></h1>
      3   <section id="startupSection">
      4     <h3 i18n-content="startupGroupName"></h3>
      5     <div>
      6       <div class="radio">
      7         <label>
      8           <input type="radio" name="startup" pref="session.restore_on_startup"
      9               value="0" metric="Options_Startup_Homepage">
     10           <span i18n-content="startupShowDefaultAndNewTab"></span>
     11         </label>
     12       </div>
     13       <div class="radio">
     14         <label>
     15           <input type="radio" name="startup" pref="session.restore_on_startup"
     16               value="1" metric="Options_Startup_LastSession">
     17           <span i18n-content="startupShowLastSession"></span>
     18         </label>
     19       </div>
     20       <div class="radio">
     21         <label>
     22           <input type="radio" name="startup" id="startupShowPagesButton"
     23               pref="session.restore_on_startup" value="4"
     24               metric="Options_Startup_Custom">
     25           <span id="startupShowPagesLabel"
     26               i18n-content="startupShowPages"></span>
     27         </label>
     28       </div>
     29       <div class="suboption">
     30         <div id="startupPageManagement" class="settings-list">
     31           <list id="startupPagesList"></list>
     32           <div>
     33             <button id="startupUseCurrentButton"
     34                 i18n-content="startupUseCurrent"></button>
     35           </div>
     36         </div>
     37       </div>
     38     </div>
     39   </section>
     40   <section>
     41     <h3 i18n-content="homepageGroupName"></h3>
     42     <div>
     43       <div class="radio">
     44         <label>
     45           <input type="radio" name="homepage" id="homepageUseNTPButton"
     46               value="true" metric="Options_Homepage_IsNewTabPage">
     47           <span i18n-content="homepageUseNewTab"></span>
     48         </label>
     49       </div>
     50       <div id="customHomePageGroup">
     51         <div class="radio">
     52           <label>
     53             <input type="radio" name="homepage" id="homepageUseURLButton"
     54                 value="false" metric="Options_Homepage_IsNewTabPage">
     55             <span i18n-content="homepageUseURL"></span>
     56           </label>
     57         </div>
     58         <div>
     59           <input id="homepageURL" class="favicon-cell" type="url">
     60         </div>
     61       </div>
     62     </div>
     63   </section>
     64   <section>
     65     <h3 i18n-content="toolbarGroupName"></h3>
     66     <div>
     67       <div class="checkbox">
     68         <label>
     69           <input id="toolbarShowHomeButton" pref="browser.show_home_button"
     70               metric="Options_Homepage_HomeButton" type="checkbox">
     71           <span i18n-content="toolbarShowHomeButton"></span>
     72         </label>
     73       </div>
     74       <div class="checkbox">
     75         <label>
     76           <input id="toolbarShowBookmarksBar"
     77               pref="bookmark_bar.show_on_all_tabs"
     78               metric="ShowBookmarksBar" type="checkbox">
     79           <span i18n-content="toolbarShowBookmarksBar"></span>
     80         </label>
     81       </div>
     82     </div>
     83   </section>
     84   <section>
     85     <h3 i18n-content="defaultSearchGroupName"></h3>
     86       <div id="defaultSearchEngineGroup">
     87         <div>
     88           <select id="defaultSearchEngine"></select>
     89           <button id="defaultSearchManageEnginesButton"
     90               i18n-content="defaultSearchManageEngines"></button>
     91         </div>
     92         <div class="checkbox" id="instantOption">
     93           <label>
     94             <!-- TODO(estade): metric? -->
     95             <input type="checkbox" id="instantEnableCheckbox"
     96                 pref="instant.enabled">
     97             <span i18n-content="instantName"></span>
     98           </label>
     99         </div>
    100         <div class="suboption informational-text">
    101           <span i18n-content="instantWarningText"></span>
    102           <a target="_blank" i18n-values="href:instantLearnMoreLink"
    103              i18n-content="learnMore"></a>
    104         </div>
    105       </div>
    106   </section>
    107 <if expr="not pp_ifdef('chromeos')">
    108   <section>
    109     <h3 i18n-content="defaultBrowserGroupName"></h3>
    110     <div>
    111       <button id="defaultBrowserUseAsDefaultButton"
    112           i18n-content="defaultBrowserUseAsDefault"></button>
    113       <div id="defaultBrowserState"
    114           i18n-content="defaultBrowserUnknown"></div>
    115     </div>
    116   </section>
    117 </if>
    118 </div>
    119