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

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

Issue 1974713002: [MD History] Unify query state in history-app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@secondary_toolbar
Patch Set: address comments Created 4 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/resources/md_history/app.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_history/app.html
diff --git a/chrome/browser/resources/md_history/app.html b/chrome/browser/resources/md_history/app.html
index 3f42a738bcd2018d50d49b00a93dd1d9e1235db6..9a7294f73232dfe7b378ff60a5a1a01946bb49c6 100644
--- a/chrome/browser/resources/md_history/app.html
+++ b/chrome/browser/resources/md_history/app.html
@@ -38,14 +38,20 @@
background: var(--md-toolbar-color);
}
</style>
- <history-toolbar id="toolbar"></history-toolbar>
+ <history-toolbar id="toolbar" searching="[[queryState_.querying]]"
+ search-term="{{queryState_.searchTerm}}"
+ query-start-time="[[queryState_.queryStartTime]]"
+ query-end-time="[[queryState_.queryEndTime]]">
+ </history-toolbar>
<div id="main-container">
<history-side-bar id="history-side-bar" selected-page="{{selectedPage}}">
</history-side-bar>
<iron-pages id="content" attr-for-selected="id"
selected="{{selectedPage}}">
- <history-list id="history-list"></history-list>
+ <history-list id="history-list" querying="[[queryState_.querying]]"
+ searched-term="{{queryState_.info.term}}">
+ </history-list>
<history-synced-device-manager id="history-synced-device-manager">
</history-synced-device-manager>
</iron-pages>
« no previous file with comments | « no previous file | chrome/browser/resources/md_history/app.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698