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

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: address comments 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 46cedad31c4a183b359ef3d3c75b611e27964c2d..ad1397a3477b06c4d40df9646c363994f7ee9459 100644
--- a/chrome/browser/resources/md_history/side_bar.js
+++ b/chrome/browser/resources/md_history/side_bar.js
@@ -35,7 +35,8 @@ Polymer({
* Relocates the user to the clear browsing data section of the settings page.
tsergeant 2016/07/18 01:33:26 Nit: @param for e
* @private
*/
- onClearBrowsingDataTap_: function() {
+ onClearBrowsingDataTap_: function(e) {
md_history.BrowserService.getInstance().openClearBrowsingData();
+ e.preventDefault();
},
});
« no previous file with comments | « chrome/browser/resources/md_history/side_bar.html ('k') | chrome/test/data/webui/md_history/history_routing_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698