Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(825)

Side by Side Diff: chrome/browser/resources/md_history/list_container.html

Issue 2684693004: MD History: Remove list-container and list-behavior (Closed)
Patch Set: Rename listeners Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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">
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">
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">
7 <link rel="import" href="chrome://history/history_list.html">
8 <link rel="import" href="chrome://history/shared_style.html">
9
10 <!-- Lazy loaded: cr-dialog, cr-action-menu, paper-button. -->
11
12 <dom-module id="history-list-container">
13 <template>
14 <style include="shared-style cr-shared-style">
15 :host {
16 display: block;
17 height: 100%;
18 overflow: hidden;
19 }
20
21 history-list {
22 height: 100%;
23 }
24
25 dialog .body {
26 white-space: pre-wrap;
27 }
28 </style>
29 <history-list id="infinite-list"
30 querying="[[queryState.querying]]"
31 searched-term="[[queryResult.info.term]]">
32 </history-list>
33
34 <template is="cr-lazy-render" id="dialog">
35 <dialog is="cr-dialog">
36 <div class="title">$i18n{removeSelected}</div>
37 <div class="body">$i18n{deleteWarning}</div>
38 <div class="button-container">
39 <paper-button class="cancel-button" on-tap="onDialogCancelTap_">
40 $i18n{cancel}
41 </paper-button>
42 <paper-button class="action-button" on-tap="onDialogConfirmTap_">
43 $i18n{deleteConfirm}
44 </paper-button>
45 </div>
46 </dialog>
47 </template>
48
49 <template is="cr-lazy-render" id="sharedMenu">
50 <dialog is="cr-action-menu">
51 <button id="menuMoreButton" class="dropdown-item"
52 on-tap="onMoreFromSiteTap_">
53 $i18n{moreFromSite}
54 </button>
55 <button id="menuRemoveButton" class="dropdown-item"
56 hidden$="[[!canDeleteHistory_]]"
57 on-tap="onRemoveFromHistoryTap_">
58 $i18n{removeFromHistory}
59 </button>
60 </dialog>
61 </template>
62 </template>
63 <script src="chrome://history/list_container.js"></script>
64 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/history_list_behavior.js ('k') | chrome/browser/resources/md_history/list_container.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698