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

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

Issue 2042973002: [MD History] Add routing to the synced devices page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hide_search_bar
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/side_bar.js
diff --git a/chrome/browser/resources/md_history/side_bar.js b/chrome/browser/resources/md_history/side_bar.js
index 77272c8ece1960b4759b188ee296a451a5a48fc9..9065eb2a5f762cca1045186cd5600e5f7c2f4319 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
+ },
+ routeData: {
+ type: Object
}
},
@@ -20,6 +23,7 @@ Polymer({
onSelect_: function(e) {
this.fire('unselect-all');
this.selectedPage = e.detail.item.getAttribute('view-id');
+ this.set('routeData.page', e.detail.item.getAttribute('path'));
},
/**

Powered by Google App Engine
This is Rietveld 408576698