Chromium Code Reviews| 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 29 matching lines...) Expand all Loading... | |
| 40 #number-selected { | 40 #number-selected { |
| 41 @apply(--layout-flex); | 41 @apply(--layout-flex); |
| 42 } | 42 } |
| 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 | |
| 51 #clear-browsing-data { | |
| 52 margin-right: 30px; | |
|
tsergeant
2016/02/02 04:21:33
Nit: RTL
yingran
2016/02/03 23:25:52
Acknowledged.
| |
| 53 } | |
| 50 </style> | 54 </style> |
| 51 | 55 |
| 52 <template is="dom-if" if="{{!itemsSelected_}}"> | 56 <template is="dom-if" if="{{!itemsSelected_}}"> |
| 53 <h1 i18n-content="title" id="title"></h1> | 57 <h1 i18n-content="title" id="title"></h1> |
| 58 <paper-button id="clear-browsing-data" on-tap="clearBrowsingData" | |
| 59 i18n-content="clearBrowsingData"> | |
| 60 </paper-button> | |
| 54 <cr-search-field id="search-input" | 61 <cr-search-field id="search-input" |
| 55 i18n-values="label:search;clear-label:clearSearch"></cr-search-field> | 62 i18n-values="label:search;clear-label:clearSearch"></cr-search-field> |
| 56 </template> | 63 </template> |
| 57 | 64 |
| 58 <template is="dom-if" if="{{itemsSelected_}}"> | 65 <template is="dom-if" if="{{itemsSelected_}}"> |
| 59 <div id="items"> | 66 <div id="items"> |
| 60 <paper-icon-button icon="clear" id="cancel-icon-button" | 67 <paper-icon-button icon="clear" id="cancel-icon-button" |
| 61 on-tap="onClearSelectionTap_"> | 68 on-tap="onClearSelectionTap_"> |
| 62 </paper-icon-button> | 69 </paper-icon-button> |
| 63 <!-- TODO: change "selected" and number to an i18n (or equivalent) | 70 <!-- TODO: change "selected" and number to an i18n (or equivalent) |
| 64 string --> | 71 string --> |
| 65 <div id="number-selected">{{count}} selected</div> | 72 <div id="number-selected">{{count}} selected</div> |
| 66 <paper-button id="cancel-button" on-tap="onClearSelectionTap_"> | 73 <paper-button id="cancel-button" on-tap="onClearSelectionTap_"> |
| 67 CANCEL | 74 CANCEL |
| 68 </paper-button> | 75 </paper-button> |
| 69 <paper-button id="delete-button">DELETE</paper-button> | 76 <paper-button id="delete-button">DELETE</paper-button> |
| 70 </div> | 77 </div> |
| 71 </template> | 78 </template> |
| 72 | 79 |
| 73 </template> | 80 </template> |
| 74 <script src="chrome://history/history_toolbar.js"></script> | 81 <script src="chrome://history/history_toolbar.js"></script> |
| 75 </dom-module> | 82 </dom-module> |
| OLD | NEW |