summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/options2/browser_options.html
blob: 0e47002d4253508a9d2a0c1b06a945705dfbc7f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<div id="browserPage" class="page" hidden>
  <h1 i18n-content="settingsTitle"></h1>
  <section id="sync-section">
    <h3 i18n-content="syncSection"></h3>
    <div id="sync-overview" class="section-description" 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>
  </section>
  <section id="startupSection">
    <h3 i18n-content="startupGroupName"></h3>
    <div>
      <div class="radio">
        <label>
          <input type="radio" name="startup" value="0"
              pref="session.restore_on_startup"
              metric="Options_Startup_Homepage">
          <span i18n-content="startupShowDefaultAndNewTab"></span>
        </label>
      </div>
      <div class="radio">
        <label>
          <input type="radio" name="startup" value="1"
              pref="session.restore_on_startup"
              metric="Options_Startup_LastSession">
          <span i18n-content="startupShowLastSession"></span>
        </label>
      </div>
      <div class="radio">
        <label>
          <input id="startupShowPagesButton" type="radio" name="startup"
              pref="session.restore_on_startup"
              value="4" metric="Options_Startup_Custom">
          <span>
            <span id="startupShowPagesLabel"
                i18n-content="startupShowPages"></span>
            <button id="startupSetPages" class="link-button"
                i18n-content="startupSetPages"></button>
          </span>
        </label>
      </div>
    </div>
  </section>
  <section>
    <h3 i18n-content="toolbarGroupName"></h3>
    <div>
      <div class="checkbox">
        <label>
          <input id="toolbarShowHomeButton" pref="browser.show_home_button"
              metric="Options_Homepage_HomeButton" type="checkbox">
          <span id="home-page-label" i18n-content="toolbarShowHomeButton">
          </span>
        </label>
      </div>
      <div class="checkbox">
        <label>
          <input id="toolbarShowBookmarksBar"
              pref="bookmark_bar.show_on_all_tabs"
              metric="Options_ShowBookmarksBar" type="checkbox">
          <span i18n-content="toolbarShowBookmarksBar"></span>
        </label>
      </div>
    </div>
  </section>
  <section>
    <h3 i18n-content="defaultSearchGroupName"></h3>
      <div id="defaultSearchEngineGroup">
        <div id="defaultSearchGroupLabel"
             i18n-values=".innerHTML:defaultSearchGroupLabel"></div>
        <div>
          <select id="defaultSearchEngine" class="weakrtl"></select>
          <button id="defaultSearchManageEnginesButton"
              i18n-content="defaultSearchManageEngines"></button>
        </div>
        <div id="instantOption" class="checkbox">
          <label id="instantLabel">
            <!-- TODO(estade): metric? -->
            <input id="instantFieldTrialCheckbox" type="checkbox"
                checked="checked" hidden>
            <input id="instantEnabledCheckbox" type="checkbox"
                pref="instant.enabled">
            <span i18n-values=".innerHTML:instantPrefAndWarning"></span>
          </label>
        </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>
<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>
  <section>
    <h3 i18n-content="advancedGroupName"></h3>
    <div>
      <div i18n-content="advancedGroupDescription"></div>
      <button id="advancedOptionsButton"
          i18n-content="advancedOptionsButtonTitle"></button>
    </div>
  </section>
</div>