summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/options/startup_section.html
blob: 41a34ecb47bdad8646ff951f16537262854f931e (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
<section id="startup-section" guest-visibility="hidden">
  <h3 i18n-content="sectionTitleStartup"></h3>
  <div id="startup-section-content">
    <div class="radio" id="newtab-section-content">
      <span class="controlled-setting-with-label">
        <input id="startup-newtab" type="radio" name="startup" value="5"
            pref="session.restore_on_startup"
            metric="Options_Startup_NewTab">
        <span>
          <label for="startup-newtab" i18n-content="startupShowNewTab"></label>
          <span class="controlled-setting-indicator"
              pref="session.restore_on_startup" value="5">
          </span>
        </span>
      </span>
    </div>
    <div class="radio">
      <span class="controlled-setting-with-label">
        <input id="startup-restore-session" type="radio" name="startup"
            value="1" pref="session.restore_on_startup"
            metric="Options_Startup_LastSession">
        <span>
          <label for="startup-restore-session"
              i18n-content="startupRestoreLastSession">
          </label>
          <span class="controlled-setting-indicator"
              pref="session.restore_on_startup" value="1">
          </span>
        </span>
      </span>
    </div>
    <div class="radio">
      <span class="controlled-setting-with-label">
        <input id="startup-show-pages" type="radio" name="startup"
            pref="session.restore_on_startup"
            value="4" metric="Options_Startup_Custom">
        <span>
          <label for="startup-show-pages" i18n-content="startupShowPages">
          </label>
          <span class="controlled-setting-indicator"
              pref="session.restore_on_startup" value="4">
          </span>
          <button id="startup-set-pages" class="link-button"
              i18n-content="startupSetPages">
          </button>
          <span class="controlled-setting-indicator"
              pref="session.startup_urls">
          </span>
        </span>
      </label>
    </div>
  </div>
</section>