OLD | NEW |
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> | 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> |
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f
lex-layout.html"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f
lex-layout.html"> |
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
4 <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-icon-button/paper
-icon-button.html"> |
5 <link rel="import" href="chrome://resources/cr_elements/cr_search_field/cr_searc
h_field.html"> | 5 <link rel="import" href="chrome://resources/cr_elements/cr_search_field/cr_searc
h_field.html"> |
6 | 6 |
7 <dom-module id="history-toolbar"> | 7 <dom-module id="history-toolbar"> |
8 <template> | 8 <template> |
9 | 9 |
10 <style> | 10 <style> |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 | 43 |
44 paper-icon-button { | 44 paper-icon-button { |
45 height: 36px; | 45 height: 36px; |
46 margin: 0 24px 0 2px; | 46 margin: 0 24px 0 2px; |
47 min-width: 36px; | 47 min-width: 36px; |
48 width: 36px; | 48 width: 36px; |
49 } | 49 } |
50 </style> | 50 </style> |
51 | 51 |
52 <template is="dom-if" if="{{!itemsSelected_}}"> | 52 <template is="dom-if" if="{{!itemsSelected_}}"> |
53 <h1 i18n-content="title" id="title"></h1> | 53 <h1 id="title">$i18n{title}</h1> |
54 <cr-search-field id="search-input" | 54 <cr-search-field id="search-input" label="$i18n{search}" |
55 i18n-values="label:search;clear-label:clearSearch"></cr-search-field> | 55 clear-label="$i18n{clearSearch}"> |
| 56 </cr-search-field> |
56 </template> | 57 </template> |
57 | 58 |
58 <template is="dom-if" if="{{itemsSelected_}}"> | 59 <template is="dom-if" if="{{itemsSelected_}}"> |
59 <div id="items"> | 60 <div id="items"> |
60 <paper-icon-button icon="clear" id="cancel-icon-button" | 61 <paper-icon-button icon="clear" id="cancel-icon-button" |
61 on-tap="onClearSelectionTap_"> | 62 on-tap="onClearSelectionTap_"> |
62 </paper-icon-button> | 63 </paper-icon-button> |
63 <!-- TODO: change "selected" and number to an i18n (or equivalent) | 64 <!-- TODO: change "selected" and number to an i18n (or equivalent) |
64 string --> | 65 string --> |
65 <div id="number-selected">{{count}} selected</div> | 66 <div id="number-selected">{{count}} selected</div> |
66 <paper-button id="cancel-button" on-tap="onClearSelectionTap_"> | 67 <paper-button id="cancel-button" on-tap="onClearSelectionTap_"> |
67 CANCEL | 68 CANCEL |
68 </paper-button> | 69 </paper-button> |
69 <paper-button id="delete-button">DELETE</paper-button> | 70 <paper-button id="delete-button">DELETE</paper-button> |
70 </div> | 71 </div> |
71 </template> | 72 </template> |
72 | 73 |
73 </template> | 74 </template> |
74 <script src="chrome://history/history_toolbar.js"></script> | 75 <script src="chrome://history/history_toolbar.js"></script> |
75 </dom-module> | 76 </dom-module> |
OLD | NEW |