Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / resources / settings / search_page / search_page.html
blob53dc9dab42c4413f1dc6e40a6a1a60ebd1f38433
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-animatable.html">
3 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_button/cr_button.html">
4 <link rel="import" href="chrome://md-settings/checkbox/checkbox.html">
5 <link rel="import" href="chrome://md-settings/search_engines_page/search_engines_page.html">
6 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pages.html">
7 <link rel="import" href="chrome://md-settings/settings_page/settings_subheader.html">
9 <dom-module id="cr-settings-search-page">
10 <link rel="import" type="css"
11 href="chrome://md-settings/settings_page/settings_page.css">
12 <link rel="import" type="css" href="search_page.css">
13 <template>
14 <cr-settings-animated-pages id="pages" current-route="{{currentRoute}}"
15 section="search">
16 <neon-animatable id="">
17 <p i18n-content="searchExplanation"></p>
19 <div class="search-engines">
20 <select id="searchEnginesMenu" on-change="defaultEngineGuidChanged_">
21 <template is="dom-repeat" items="[[searchEngines]]">
22 <option value="[[item.guid]]">{{item.name}}</option>
23 </template>
24 </select>
26 <cr-button class="search-engines"
27 i18n-content="searchManageButtonLabel"
28 on-tap="onSearchEnginesTap_" raised>
29 </cr-button>
30 </div>
31 </neon-animatable>
32 <neon-animatable id="search-engines">
33 <settings-subheader i18n-values="page-title:searchEnginesLabel">
34 </settings-subheader>
35 <cr-settings-search-engines-page></cr-settings-search-engines-page>
36 <cr-button class="search-engines-advanced"
37 i18n-content="advancedPageTitle"
38 on-tap="onSearchEnginesAdvancedTap_" raised>
39 </cr-button>
40 </neon-animatable>
41 <neon-animatable id="search-engines-advanced">
42 <!-- This sub-subpage is purely a placeholder to provide an example. -->
43 <settings-subheader i18n-values="page-title:searchEnginesLabel">
44 </settings-subheader>
45 <p i18n-content="searchExplanation"></p>
46 </neon-animatable>
47 </cr-settings-animated-pages>
48 </template>
49 <script src="search_page.js"></script>
50 </dom-module>