Index: chrome/browser/resources/md_downloads/toolbar.html |
diff --git a/chrome/browser/resources/md_downloads/toolbar.html b/chrome/browser/resources/md_downloads/toolbar.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..12a264d0753aa0a27034eadd77fd74f5937f8a23 |
--- /dev/null |
+++ b/chrome/browser/resources/md_downloads/toolbar.html |
@@ -0,0 +1,30 @@ |
+<dom-module is="downloads-toolbar"> |
+ <template> |
+ <paper-toolbar> |
+ <h1 i18n-content="title" id="title"></h1> |
+ <div id="actions"> |
+ <paper-button id="clear-all" i18n-content="clearAll" |
Jeremy Klein
2015/07/16 18:54:54
y u no cr-elements
Dan Beam
2015/07/18 01:02:20
Done.
|
+ on-click="onClearAllClick_" |
+ hidden$="{{!canClearAll}}"></paper-button> |
Jeremy Klein
2015/07/16 18:54:54
nit: [[]] here and other hidden attributes.
Dan Beam
2015/07/18 01:02:20
Done.
|
+ <paper-button id="open-downloads-folder" |
+ i18n-content="openDownloadsFolder" |
+ on-click="onOpenDownloadsFolderClick_"></paper-button> |
+ </div> |
+ <div id="search"> |
+ <paper-icon-button icon="search" id="search-button" |
+ on-click="toggleShowingSearch_"></paper-icon-button> |
+ <paper-input id="search-term" |
+ i18n-values="label:searchButton" hidden$="{{!showingSearch_}}" |
+ no-label-float></paper-input> |
+ <paper-icon-button icon="clear" id="clear-search" |
+ on-click="toggleShowingSearch_" |
+ hidden$="{{!showingSearch_}}"></paper-icon-button> |
+ </div> |
+ </paper-toolbar> |
+ </template> |
+ <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> |
Jeremy Klein
2015/07/16 18:54:54
same comment about imports being at the top outsid
Dan Beam
2015/07/18 01:02:20
Acknowledged.
|
+ <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html"> |
+ <link rel="import" href="chrome://resources/html/cr.html"> |
+ <link rel="import" type="css" href="chrome://downloads/toolbar.css"> |
+ <script src="chrome://downloads/toolbar.js"></script> |
+</dom-module> |