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

Unified Diff: chrome/browser/resources/md_history/list_container.html

Issue 2084843002: [MD History] Add history-list-container between app and history lists. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tim_toolbar
Patch Set: rebase Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/md_history/list_container.html
diff --git a/chrome/browser/resources/md_history/list_container.html b/chrome/browser/resources/md_history/list_container.html
new file mode 100644
index 0000000000000000000000000000000000000000..4c5dbe24fb79b097aa1bd8ac1aba82455b3f60fd
--- /dev/null
+++ b/chrome/browser/resources/md_history/list_container.html
@@ -0,0 +1,36 @@
+<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="chrome://resources/polymer/v1_0/iron-pages/iron-pages.html">
+<link rel="import" href="chrome://history/grouped_list.html">
+<link rel="import" href="chrome://history/history_list.html">
+
+<dom-module id="history-list-container">
+ <template>
+ <style>
+ :host {
+ display: block;
+ height: 100%;
+ overflow: hidden;
+ }
+
+ #content,
+ #content > * {
+ height: 100%;
+ }
+ </style>
+ <iron-pages id="content" attr-for-selected="id"
+ selected="[[selectedPage_]]">
+ <history-list id="infinite-list" querying="[[queryState.querying]]"
+ searched-term="[[queryResult_.info.term]]"></history-list>
+ <template is="dom-if" if="[[grouped]]">
+ <history-grouped-list id="grouped-list"
+ range="[[queryState.range]]"
+ query-start-time="[[queryResult_.info.queryStartTime]]"
+ query-end-time="[[queryResult_.info.queryEndTime]]"
+ searched-term="[[queryResult_.info.term]]">
+ </history-grouped-list>
+ </template>
+ </template>
+ </iron-pages>
+ </template>
+ <script src="chrome://history/list_container.js"></script>
+</dom-module>
« no previous file with comments | « chrome/browser/resources/md_history/constants.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