| 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
"> | 2 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html
"> |
| 3 <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/cr_shared_menu/cr_shared
_menu.html"> | 4 <link rel="import" href="chrome://resources/cr_elements/cr_shared_menu/cr_shared
_menu.html"> |
| 4 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> | 5 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-pages/iron-pages.h
tml"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-pages/iron-pages.h
tml"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.h
tml"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.h
tml"> |
| 7 <link rel="import" href="chrome://history/browser_service.html"> | 8 <link rel="import" href="chrome://history/browser_service.html"> |
| 8 <link rel="import" href="chrome://history/grouped_list.html"> | 9 <link rel="import" href="chrome://history/grouped_list.html"> |
| 9 <link rel="import" href="chrome://history/history_list.html"> | 10 <link rel="import" href="chrome://history/history_list.html"> |
| 10 <link rel="import" href="chrome://history/lazy_render.html"> | |
| 11 <link rel="import" href="chrome://history/shared_style.html"> | 11 <link rel="import" href="chrome://history/shared_style.html"> |
| 12 | 12 |
| 13 <dom-module id="history-list-container"> | 13 <dom-module id="history-list-container"> |
| 14 <template> | 14 <template> |
| 15 <style include="shared-style cr-shared-style"> | 15 <style include="shared-style cr-shared-style"> |
| 16 :host { | 16 :host { |
| 17 display: block; | 17 display: block; |
| 18 height: 100%; | 18 height: 100%; |
| 19 overflow: hidden; | 19 overflow: hidden; |
| 20 } | 20 } |
| (...skipping 14 matching lines...) Expand all Loading... |
| 35 <template is="dom-if" if="[[grouped]]"> | 35 <template is="dom-if" if="[[grouped]]"> |
| 36 <history-grouped-list id="grouped-list" | 36 <history-grouped-list id="grouped-list" |
| 37 range="[[groupedRange]]" | 37 range="[[groupedRange]]" |
| 38 query-start-time="[[queryResult.info.queryStartTime]]" | 38 query-start-time="[[queryResult.info.queryStartTime]]" |
| 39 query-end-time="[[queryResult.info.queryEndTime]]" | 39 query-end-time="[[queryResult.info.queryEndTime]]" |
| 40 searched-term="[[queryResult.info.term]]"> | 40 searched-term="[[queryResult.info.term]]"> |
| 41 </history-grouped-list> | 41 </history-grouped-list> |
| 42 </template> | 42 </template> |
| 43 </iron-pages> | 43 </iron-pages> |
| 44 | 44 |
| 45 <template is="history-lazy-render" id="dialog"> | 45 <template is="cr-lazy-render" id="dialog"> |
| 46 <dialog is="cr-dialog"> | 46 <dialog is="cr-dialog"> |
| 47 <div class="title">$i18n{removeSelected}</div> | 47 <div class="title">$i18n{removeSelected}</div> |
| 48 <div class="body">$i18n{deleteWarning}</div> | 48 <div class="body">$i18n{deleteWarning}</div> |
| 49 <div class="button-container"> | 49 <div class="button-container"> |
| 50 <paper-button class="cancel-button" on-tap="onDialogCancelTap_"> | 50 <paper-button class="cancel-button" on-tap="onDialogCancelTap_"> |
| 51 $i18n{cancel} | 51 $i18n{cancel} |
| 52 </paper-button> | 52 </paper-button> |
| 53 <paper-button class="action-button" on-tap="onDialogConfirmTap_" | 53 <paper-button class="action-button" on-tap="onDialogConfirmTap_" |
| 54 autofocus> | 54 autofocus> |
| 55 $i18n{deleteConfirm} | 55 $i18n{deleteConfirm} |
| 56 </paper-button> | 56 </paper-button> |
| 57 </div> | 57 </div> |
| 58 </dialog> | 58 </dialog> |
| 59 </template> | 59 </template> |
| 60 | 60 |
| 61 <template is="history-lazy-render" id="sharedMenu"> | 61 <template is="cr-lazy-render" id="sharedMenu"> |
| 62 <cr-shared-menu> | 62 <cr-shared-menu> |
| 63 <paper-item id="menuMoreButton" class="menu-item" | 63 <paper-item id="menuMoreButton" class="menu-item" |
| 64 on-tap="onMoreFromSiteTap_"> | 64 on-tap="onMoreFromSiteTap_"> |
| 65 $i18n{moreFromSite} | 65 $i18n{moreFromSite} |
| 66 </paper-item> | 66 </paper-item> |
| 67 <paper-item id="menuRemoveButton" class="menu-item" | 67 <paper-item id="menuRemoveButton" class="menu-item" |
| 68 on-tap="onRemoveFromHistoryTap_"> | 68 on-tap="onRemoveFromHistoryTap_"> |
| 69 $i18n{removeFromHistory} | 69 $i18n{removeFromHistory} |
| 70 </paper-item> | 70 </paper-item> |
| 71 </cr-shared-menu> | 71 </cr-shared-menu> |
| 72 </template> | 72 </template> |
| 73 </template> | 73 </template> |
| 74 <script src="chrome://history/list_container.js"></script> | 74 <script src="chrome://history/list_container.js"></script> |
| 75 </dom-module> | 75 </dom-module> |
| OLD | NEW |