[Presentation API, Android] Implement basic messaging
[chromium-blink-merge.git] / chrome / browser / resources / md_downloads / toolbar.html
blobbfb4d986a2be2c83d38849fa8e8731d680b313df
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-menu.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu-button/paper-menu-button.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html">
7 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_button/cr_button.html">
8 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_input/cr_input.html">
9 <link rel="import" href="chrome://resources/html/assert.html">
10 <link rel="import" href="chrome://resources/html/cr.html">
12 <dom-module id="downloads-toolbar">
13 <template>
14 <div id="title">
15 <h1 i18n-content="title"></h1>
16 </div>
17 <div id="actions">
18 <cr-button class="clear-all" i18n-content="clearAll"
19 on-click="onClearAllClick_"></cr-button>
20 <cr-button i18n-content="openDownloadsFolder"
21 on-click="onOpenDownloadsFolderClick_"></cr-button>
22 </div>
23 <div id="search">
24 <paper-icon-button icon="search" id="search-button"
25 on-click="toggleShowingSearch_"></paper-icon-button>
26 <paper-input-container id="search-term" on-search="onSearchTermSearch_"
27 on-keydown="onSearchTermKeydown_" hidden$="[[!showingSearch_]]"
28 no-label-float>
29 <input is="iron-input" id="search-input" type="search"
30 i18n-values="placeholder:search" incremental>
31 <paper-icon-button icon="cancel" id="clear-search"
32 on-click="toggleShowingSearch_"
33 hidden$="[[!showingSearch_]]"></paper-icon-button>
34 </paper-input-container>
35 <paper-menu-button id="more" horizontal-align="right">
36 <paper-icon-button icon="more-vert"
37 class="dropdown-trigger"></paper-icon-button>
38 <paper-menu class="dropdown-content">
39 <paper-item class="clear-all" i18n-content="clearAll"
40 on-click="onClearAllClick_"></paper-item>
41 <paper-item i18n-content="openDownloadsFolder"
42 on-click="onOpenDownloadsFolderClick_"></paper-item>
43 </paper-menu>
44 </paper-menu-button>
45 </div>
46 </template>
47 <link rel="import" type="css" href="chrome://downloads/shared_style.css">
48 <link rel="import" type="css" href="chrome://downloads/toolbar.css">
49 <script src="chrome://downloads/toolbar.js"></script>
50 </dom-module>