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/iron-input/iron-input.html">
4 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/paper-button/paper-button.html">
5 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/paper-input/paper-input-container.html">
6 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/paper-item/paper-item.html">
7 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/paper-menu/paper-menu.html">
8 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/paper-menu-button/paper-menu-button.html">
9 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/paper-icon-button/paper-icon-button.html">
10 <link rel=
"import" href=
"chrome://resources/html/assert.html">
11 <link rel=
"import" href=
"chrome://resources/html/cr.html">
13 <dom-module id=
"downloads-toolbar">
16 <h1 i18n-content=
"title"></h1>
19 <paper-button class=
"clear-all" i18n-content=
"clearAll"
20 on-click=
"onClearAllClick_"></paper-button>
21 <paper-button i18n-content=
"openDownloadsFolder"
22 on-click=
"onOpenDownloadsFolderClick_"></paper-button>
25 <paper-icon-button icon=
"search" id=
"search-button"
26 on-click=
"toggleShowingSearch_"></paper-icon-button>
27 <paper-input-container id=
"search-term" on-search=
"onSearchTermSearch_"
28 on-keydown=
"onSearchTermKeydown_" hidden$=
"[[!showingSearch_]]"
30 <input is=
"iron-input" id=
"search-input" type=
"search"
31 i18n-values=
"placeholder:search" incremental
>
32 <paper-icon-button icon=
"cancel" id=
"clear-search"
33 on-click=
"toggleShowingSearch_"
34 hidden$=
"[[!showingSearch_]]"></paper-icon-button>
35 </paper-input-container>
36 <paper-menu-button id=
"more" horizontal-align=
"right">
37 <paper-icon-button icon=
"more-vert"
38 class=
"dropdown-trigger"></paper-icon-button>
39 <paper-menu class=
"dropdown-content">
40 <paper-item class=
"clear-all" i18n-content=
"clearAll"
41 on-click=
"onClearAllClick_"></paper-item>
42 <paper-item i18n-content=
"openDownloadsFolder"
43 on-click=
"onOpenDownloadsFolderClick_"></paper-item>
48 <link rel=
"import" type=
"css" href=
"chrome://downloads/shared_style.css">
49 <link rel=
"import" type=
"css" href=
"chrome://downloads/toolbar.css">
50 <script src=
"chrome://downloads/toolbar.js"></script>