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

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

Issue 2590093002: MD History: Move queryState to be managed by history-router (Closed)
Patch Set: Rebase Created 3 years, 11 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 | « chrome/browser/resources/md_history/app.html ('k') | chrome/browser/resources/md_history/app.crisper.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.js
diff --git a/chrome/browser/resources/md_history/app.js b/chrome/browser/resources/md_history/app.js
index 997b91814de664ea3e5f5b847601518b51d21367..b67bf99d2671b9ac5f996c6674e9b41a0499ef1d 100644
--- a/chrome/browser/resources/md_history/app.js
+++ b/chrome/browser/resources/md_history/app.js
@@ -39,30 +39,6 @@ Polymer({
reflectToAttribute: true,
},
- /** @type {!QueryState} */
- queryState_: {
- type: Object,
- value: function() {
- return {
- // Whether the most recent query was incremental.
- incremental: false,
- // A query is initiated by page load.
- querying: true,
- queryingDisabled: false,
- _range: HistoryRange.ALL_TIME,
- searchTerm: '',
- groupedOffset: 0,
-
- set range(val) {
- this._range = Number(val);
- },
- get range() {
- return this._range;
- },
- };
- }
- },
-
/** @type {!QueryResult} */
queryResult_: {
type: Object,
@@ -95,6 +71,9 @@ Polymer({
},
},
+ /** @type {!QueryState} */
+ queryState_: Object,
+
// True if the window is narrow enough for the page to have a drawer.
hasDrawer_: {
type: Boolean,
« no previous file with comments | « chrome/browser/resources/md_history/app.html ('k') | chrome/browser/resources/md_history/app.crisper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698