Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html "> | |
| 3 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> | |
| 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-pages/iron-pages.h tml"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-pages/iron-pages.h tml"> |
| 3 <link rel="import" href="chrome://history/grouped_list.html"> | 5 <link rel="import" href="chrome://history/grouped_list.html"> |
| 4 <link rel="import" href="chrome://history/history_list.html"> | 6 <link rel="import" href="chrome://history/history_list.html"> |
| 5 | 7 |
| 6 <dom-module id="history-list-container"> | 8 <dom-module id="history-list-container"> |
| 7 <template> | 9 <template> |
| 8 <style> | 10 <style include="cr-shared-style"> |
| 9 :host { | 11 :host { |
| 10 display: block; | 12 display: block; |
| 11 height: 100%; | 13 height: 100%; |
| 12 overflow: hidden; | 14 overflow: hidden; |
| 13 } | 15 } |
| 14 | 16 |
| 15 #content, | 17 #content, |
| 16 #content > * { | 18 #content > * { |
| 17 height: 100%; | 19 height: 100%; |
| 18 } | 20 } |
| 21 | |
| 22 #dialog .body { | |
| 23 white-space: pre-wrap; | |
| 24 } | |
| 19 </style> | 25 </style> |
| 20 <iron-pages id="content" attr-for-selected="id" | 26 <iron-pages id="content" attr-for-selected="id" |
| 21 selected="[[selectedPage_]]"> | 27 selected="[[selectedPage_]]"> |
| 22 <history-list id="infinite-list" querying="[[queryState.querying]]" | 28 <history-list id="infinite-list" querying="[[queryState.querying]]" |
| 23 searched-term="[[queryResult.info.term]]"></history-list> | 29 searched-term="[[queryResult.info.term]]"></history-list> |
| 24 <template is="dom-if" if="[[grouped]]"> | 30 <template is="dom-if" if="[[grouped]]"> |
| 25 <history-grouped-list id="grouped-list" | 31 <history-grouped-list id="grouped-list" |
| 26 range="[[queryState.range]]" | 32 range="[[queryState.range]]" |
| 27 query-start-time="[[queryResult.info.queryStartTime]]" | 33 query-start-time="[[queryResult.info.queryStartTime]]" |
| 28 query-end-time="[[queryResult.info.queryEndTime]]" | 34 query-end-time="[[queryResult.info.queryEndTime]]" |
| 29 searched-term="[[queryResult.info.term]]"> | 35 searched-term="[[queryResult.info.term]]"> |
| 30 </history-grouped-list> | 36 </history-grouped-list> |
| 31 </template> | 37 </template> |
| 32 </template> | |
|
calamity
2016/07/08 06:05:50
=S
tsergeant
2016/07/08 06:37:27
yeahhhhhhhhh
| |
| 33 </iron-pages> | 38 </iron-pages> |
| 39 | |
| 40 <cr-dialog id="dialog"> | |
| 41 <div class="title">$i18n{removeSelected}</div> | |
| 42 <div class="body">$i18n{deleteWarning}</div> | |
| 43 <div class="button-container"> | |
| 44 <paper-button class="cancel-button" on-tap="onDialogCancelTap_"> | |
| 45 $i18n{cancel} | |
| 46 </paper-button> | |
| 47 <paper-button class="action-button" on-tap="onDialogConfirmTap_" | |
| 48 autofocus> | |
| 49 $i18n{deleteConfirm} | |
| 50 </paper-button> | |
| 51 </div> | |
| 52 </cr-dialog> | |
| 34 </template> | 53 </template> |
| 35 <script src="chrome://history/list_container.js"></script> | 54 <script src="chrome://history/list_container.js"></script> |
| 36 </dom-module> | 55 </dom-module> |
| OLD | NEW |