Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <dom-module is="downloads-toolbar"> | |
| 2 <template> | |
| 3 <paper-toolbar> | |
| 4 <h1 i18n-content="title" id="title"></h1> | |
| 5 <div id="actions"> | |
| 6 <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.
| |
| 7 on-click="onClearAllClick_" | |
| 8 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.
| |
| 9 <paper-button id="open-downloads-folder" | |
| 10 i18n-content="openDownloadsFolder" | |
| 11 on-click="onOpenDownloadsFolderClick_"></paper-button> | |
| 12 </div> | |
| 13 <div id="search"> | |
| 14 <paper-icon-button icon="search" id="search-button" | |
| 15 on-click="toggleShowingSearch_"></paper-icon-button> | |
| 16 <paper-input id="search-term" | |
| 17 i18n-values="label:searchButton" hidden$="{{!showingSearch_}}" | |
| 18 no-label-float></paper-input> | |
| 19 <paper-icon-button icon="clear" id="clear-search" | |
| 20 on-click="toggleShowingSearch_" | |
| 21 hidden$="{{!showingSearch_}}"></paper-icon-button> | |
| 22 </div> | |
| 23 </paper-toolbar> | |
| 24 </template> | |
| 25 <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.
| |
| 26 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-bu tton.html"> | |
| 27 <link rel="import" href="chrome://resources/html/cr.html"> | |
| 28 <link rel="import" type="css" href="chrome://downloads/toolbar.css"> | |
| 29 <script src="chrome://downloads/toolbar.js"></script> | |
| 30 </dom-module> | |
| OLD | NEW |