| 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_lazy_render/cr_lazy_r
ender.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r
ender.html"> |
| 3 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> | 3 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-announcer/iro
n-a11y-announcer.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-announcer/iro
n-a11y-announcer.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-pages/iron-pages.h
tml"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-pages/iron-pages.h
tml"> |
| 6 <link rel="import" href="chrome://history/browser_service.html"> | 6 <link rel="import" href="chrome://history/browser_service.html"> |
| 7 <link rel="import" href="chrome://history/history_list.html"> | 7 <link rel="import" href="chrome://history/history_list.html"> |
| 8 <link rel="import" href="chrome://history/shared_style.html"> | 8 <link rel="import" href="chrome://history/shared_style.html"> |
| 9 | 9 |
| 10 <!-- Lazy loaded: cr-dialog, cr-action-menu, history-grouped-list, paper-button. | 10 <!-- Lazy loaded: cr-dialog, cr-action-menu, paper-button. --> |
| 11 --> | |
| 12 | 11 |
| 13 <dom-module id="history-list-container"> | 12 <dom-module id="history-list-container"> |
| 14 <template> | 13 <template> |
| 15 <style include="shared-style cr-shared-style"> | 14 <style include="shared-style cr-shared-style"> |
| 16 :host { | 15 :host { |
| 17 display: block; | 16 display: block; |
| 18 height: 100%; | 17 height: 100%; |
| 19 overflow: hidden; | 18 overflow: hidden; |
| 20 } | 19 } |
| 21 | 20 |
| 22 #content, | 21 history-list { |
| 23 #content > * { | |
| 24 height: 100%; | 22 height: 100%; |
| 25 } | 23 } |
| 26 | 24 |
| 27 dialog .body { | 25 dialog .body { |
| 28 white-space: pre-wrap; | 26 white-space: pre-wrap; |
| 29 } | 27 } |
| 30 </style> | 28 </style> |
| 31 <iron-pages id="content" | 29 <history-list id="infinite-list" |
| 32 attr-for-selected="id" | 30 querying="[[queryState.querying]]" |
| 33 selected="[[selectedPage_]]"> | 31 searched-term="[[queryResult.info.term]]"> |
| 34 <history-list id="infinite-list" | 32 </history-list> |
| 35 querying="[[queryState.querying]]" | |
| 36 searched-term="[[queryResult.info.term]]"> | |
| 37 </history-list> | |
| 38 <template is="dom-if" if="[[grouped]]"> | |
| 39 <history-grouped-list id="grouped-list" | |
| 40 range="[[queryState.range]]" | |
| 41 query-interval="[[queryResult.info.queryInterval]]" | |
| 42 searched-term="[[queryResult.info.term]]"> | |
| 43 </history-grouped-list> | |
| 44 </template> | |
| 45 </iron-pages> | |
| 46 | 33 |
| 47 <template is="cr-lazy-render" id="dialog"> | 34 <template is="cr-lazy-render" id="dialog"> |
| 48 <dialog is="cr-dialog"> | 35 <dialog is="cr-dialog"> |
| 49 <div class="title">$i18n{removeSelected}</div> | 36 <div class="title">$i18n{removeSelected}</div> |
| 50 <div class="body">$i18n{deleteWarning}</div> | 37 <div class="body">$i18n{deleteWarning}</div> |
| 51 <div class="button-container"> | 38 <div class="button-container"> |
| 52 <paper-button class="cancel-button" on-tap="onDialogCancelTap_"> | 39 <paper-button class="cancel-button" on-tap="onDialogCancelTap_"> |
| 53 $i18n{cancel} | 40 $i18n{cancel} |
| 54 </paper-button> | 41 </paper-button> |
| 55 <paper-button class="action-button" on-tap="onDialogConfirmTap_"> | 42 <paper-button class="action-button" on-tap="onDialogConfirmTap_"> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 68 <button id="menuRemoveButton" class="dropdown-item" | 55 <button id="menuRemoveButton" class="dropdown-item" |
| 69 disabled="[[!canDeleteHistory_()]]" | 56 disabled="[[!canDeleteHistory_()]]" |
| 70 on-tap="onRemoveFromHistoryTap_"> | 57 on-tap="onRemoveFromHistoryTap_"> |
| 71 $i18n{removeFromHistory} | 58 $i18n{removeFromHistory} |
| 72 </button> | 59 </button> |
| 73 </dialog> | 60 </dialog> |
| 74 </template> | 61 </template> |
| 75 </template> | 62 </template> |
| 76 <script src="chrome://history/list_container.js"></script> | 63 <script src="chrome://history/list_container.js"></script> |
| 77 </dom-module> | 64 </dom-module> |
| OLD | NEW |