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

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

Issue 1948373002: [MD History] Add routing for synced devices page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mdh_fuckit_refactor_it_all
Patch Set: 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 | « chrome/browser/resources/md_history/side_bar.html ('k') | ui/webui/resources/polymer_resources.grdp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_history/side_bar.js
diff --git a/chrome/browser/resources/md_history/side_bar.js b/chrome/browser/resources/md_history/side_bar.js
index 11da2e42884c0a1912b197769c89dd3733c4949b..6b01531d17da55540d002e7e0c90bd052fce15c0 100644
--- a/chrome/browser/resources/md_history/side_bar.js
+++ b/chrome/browser/resources/md_history/side_bar.js
@@ -9,6 +9,9 @@ Polymer({
selectedPage: {
type: String,
notify: true
+ },
+ route: {
+ type: Object
}
},
@@ -20,5 +23,6 @@ Polymer({
onSelect_: function(e) {
this.fire('unselect-all');
this.selectedPage = e.detail.item.getAttribute('view-id');
+ this.set('route.path', e.detail.item.getAttribute('href'));
},
});
« no previous file with comments | « chrome/browser/resources/md_history/side_bar.html ('k') | ui/webui/resources/polymer_resources.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698