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

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

Issue 2643533003: MD History: Use one-way binding for history query state. (Closed)
Patch Set: Remove wrapper function 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 | « no previous file | 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.html
diff --git a/chrome/browser/resources/md_history/app.html b/chrome/browser/resources/md_history/app.html
index cbd24b27c6a7444d96f1fd89771940f0536f4aed..fe1522c3dfea714196fd7fa441f4f95a0cd72b55 100644
--- a/chrome/browser/resources/md_history/app.html
+++ b/chrome/browser/resources/md_history/app.html
@@ -75,17 +75,17 @@
query-result="[[queryResult_]]">
</history-query-manager>
<history-router selected-page="{{selectedPage_}}"
- query-state="{{queryState_}}">
+ query-state="[[queryState_]]">
</history-router>
<history-toolbar id="toolbar"
- grouped-offset="{{queryState_.groupedOffset}}"
- grouped-range="{{queryState_.range}}"
+ grouped-offset="[[queryState_.groupedOffset]]"
+ grouped-range="[[queryState_.range]]"
has-drawer="[[hasDrawer_]]"
has-more-results="[[!queryResult_.info.finished]]"
- is-grouped-mode="{{grouped_}}"
+ is-grouped-mode="[[grouped_]]"
query-info="[[queryResult_.info]]"
querying="[[queryState_.querying]]"
- search-term="{{queryState_.searchTerm}}"
+ search-term="[[queryState_.searchTerm]]"
show-menu-promo="[[showMenuPromo_]]"
show-sync-notice="[[showSyncNotice_(hasSyncedResults, selectedPage_)]]"
spinner-active="[[shouldShowSpinner_(queryState_.querying,
@@ -102,9 +102,9 @@
fallback-selection="history"
selected="[[getSelectedPage_(selectedPage_, items)]]"
items="{{items}}">
- <history-list-container id="history" query-state="{{queryState_}}"
+ <history-list-container id="history" query-state="[[queryState_]]"
query-result="[[queryResult_]]" grouped="[[grouped_]]"
- grouped-range="{{queryState_.range}}" path="history">
+ path="history">
</history-list-container>
<template is="dom-if" if="[[syncedTabsSelected_(selectedPage_)]]">
<history-synced-device-manager id="synced-devices"
« no previous file with comments | « no previous file | chrome/browser/resources/md_history/app.crisper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698