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

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: Created 4 years, 6 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..9f14e5b8abe6410a9d31c68b6df0b5835cf74596
--- /dev/null
+++ b/chrome/browser/resources/md_history/list_container.html
@@ -0,0 +1,37 @@
+<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;
+ }
+
+ #main-container,
tsergeant 2016/06/23 06:35:25 #main-container doesn't exist here.
calamity 2016/06/24 05:39:47 Removed.
+ #content,
+ #content > * {
+ height: 100%;
+ }
+ </style>
+ <iron-pages id="content" attr-for-selected="id"
+ selected="[[selectedPage_]]">
+ <history-list id="history-list" querying="[[queryState.querying]]"
tsergeant 2016/06/23 06:35:25 Here's a yak to shave while you're here: How abou
calamity 2016/06/24 05:39:47 Shaved.
+ searched-term="[[queryResult_.info.term]]"></history-list>
+ <template is="dom-if" if="[[grouped]]">
+ <history-grouped-list id="history-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>

Powered by Google App Engine
This is Rietveld 408576698