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

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

Issue 2068613002: [MD History] Add URL parameter for search. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@routing
Patch Set: rebase Created 4 years, 5 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 1195d221193d1d09f909d6215ddc5cf73c24998f..7e027f074ca5400a35cbe7bd06e0a4edfd33f861 100644
--- a/chrome/browser/resources/md_history/side_bar.js
+++ b/chrome/browser/resources/md_history/side_bar.js
@@ -10,6 +10,8 @@ Polymer({
type: String,
notify: true
},
+
+ route: Object,
},
toggle: function() {
@@ -40,4 +42,12 @@ Polymer({
md_history.BrowserService.getInstance().openClearBrowsingData();
e.preventDefault();
},
+
+ /**
+ * @param {Object} route
+ * @private
+ */
+ getQueryString_: function(route) {
+ return window.location.search;
+ }
});

Powered by Google App Engine
This is Rietveld 408576698