Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / resources / settings / appearance_page / appearance_page.html
blobab1eaf730993b6ac9aac34d299d9bb123322f79e
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/paper-radio-button.html">
4 <link rel="import" href="chrome://md-settings/checkbox/checkbox.html">
5 <link rel="import" href="chrome://md-settings/radio_group/radio_group.html">
7 <dom-module id="cr-settings-appearance-page">
8 <link rel="import" type="css"
9 href="chrome://md-settings/settings_page/settings_page.css">
10 <link rel="import" type="css"
11 href="chrome://md-settings/appearance_page/appearance_page.css">
12 <link rel="import" type="css" href="chrome://resources/css/widgets.css">
13 <link rel="import" href="chrome://resources/html/action_link.html">
14 <template>
15 <div id="action-container">
16 <paper-button i18n-content="setWallpaper"></paper-button>
17 <paper-button id="get-themes" i18n-content="getThemes"
18 on-tap="openThemesGallery_">
19 </paper-button>
20 <paper-button id="resetTheme" i18n-content="resetToDefaultTheme" disabled
21 on-tap="resetTheme_">
22 </paper-button>
23 </div>
24 <hr>
25 <cr-settings-checkbox pref="{{prefs.browser.show_home_button}}"
26 i18n-values="label:showHomeButton">
27 </cr-settings-checkbox>
28 <template is="dom-if" if="{{prefs.browser.show_home_button.value}}">
29 <cr-settings-radio-group pref="{{prefs.homepage_is_newtabpage}}">
30 <paper-radio-button name="true"
31 >[[i18n_.homePageNtp]]</paper-radio-button>
32 <paper-radio-button name="false"
33 >[[i18n_.openThisPage]]</paper-radio-button>
34 </cr-settings-radio-group>
35 </template>
36 <cr-settings-checkbox pref="{{prefs.bookmark_bar.show_on_all_tabs}}"
37 i18n-values="label:showBookmarksBar">
38 </cr-settings-checkbox>
39 </template>
40 <script src="appearance_page.js"></script>
41 </dom-module>