OLD | NEW |
---|---|
(Empty) | |
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.h tml"> | |
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> | |
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toolbar/paper-too lbar.html"> | |
5 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_button/cr_button .html"> | |
6 <link rel="import" href="chrome://resources/cr_elements/v1_0/cr_input/cr_input.h tml"> | |
7 <link rel="import" href="chrome://resources/html/cr.html"> | |
8 | |
9 <dom-module id="downloads-toolbar" is="polymer-toolbar"> | |
Jeremy Klein
2015/07/20 17:40:18
Where did the is come from? Just left over from so
Dan Beam
2015/07/20 17:41:48
@_@ yes?
| |
10 <template> | |
11 <paper-toolbar> | |
12 <h1 i18n-content="title" id="title"></h1> | |
13 <div id="actions"> | |
14 <cr-button id="clear-all" i18n-content="clearAll" | |
15 on-click="onClearAllClick_" | |
16 hidden$="[[!canClearAll]]"></cr-button> | |
17 <cr-button id="open-downloads-folder" | |
18 i18n-content="openDownloadsFolder" | |
19 on-click="onOpenDownloadsFolderClick_"></cr-button> | |
20 </div> | |
21 <div id="search"> | |
22 <paper-icon-button icon="search" id="search-button" | |
23 on-click="toggleShowingSearch_"></paper-icon-button> | |
24 <cr-input id="search-term" i18n-values="label:searchButton" | |
25 hidden$="[[!showingSearch_]]" no-label-float></paper-input> | |
26 <paper-icon-button icon="clear" id="clear-search" | |
27 on-click="toggleShowingSearch_" | |
28 hidden$="[[!showingSearch_]]"></paper-icon-button> | |
29 </div> | |
30 </paper-toolbar> | |
31 </template> | |
32 <link rel="import" type="css" href="chrome://downloads/shared_style.css"> | |
33 <link rel="import" type="css" href="chrome://downloads/toolbar.css"> | |
34 <script src="chrome://downloads/toolbar.js"></script> | |
35 </dom-module> | |
OLD | NEW |