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">
15 <h1 i18n-content=
"title"></h1>
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>
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_]]"
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>
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>