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

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

Issue 1952283002: [MD History] Move Clear Browsing Data button to sidebar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_cbd
Patch Set: address comments 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') | no next file » | 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..77272c8ece1960b4759b188ee296a451a5a48fc9 100644
--- a/chrome/browser/resources/md_history/side_bar.js
+++ b/chrome/browser/resources/md_history/side_bar.js
@@ -21,4 +21,12 @@ Polymer({
this.fire('unselect-all');
this.selectedPage = e.detail.item.getAttribute('view-id');
},
+
+ /**
+ * Relocates the user to the clear browsing data section of the settings page.
+ * @private
+ */
+ onClearBrowsingDataTap_: function() {
+ window.location.href = 'chrome://settings/clearBrowserData';
+ },
});
« no previous file with comments | « chrome/browser/resources/md_history/side_bar.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698