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

Unified Diff: chrome/browser/resources/settings/privacy_page/privacy_page.js

Issue 1750873002: [MD settings] change ClearBrowsingData from a sub-page to a dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review changes Created 4 years, 10 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/settings/privacy_page/privacy_page.js
diff --git a/chrome/browser/resources/settings/privacy_page/privacy_page.js b/chrome/browser/resources/settings/privacy_page/privacy_page.js
index b9ed9924a36b211475c6683b3309532419002985..178fba72b4d1d0bba18b9f19e76347474ff7bf6e 100644
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.js
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.js
@@ -55,6 +55,7 @@ Polymer({
/** @private */
onClearBrowsingDataTap_: function() {
- this.$.pages.setSubpageChain(['clear-browsing-data']);
+ this.$.pages.querySelector('settings-clear-browsing-data-page')
+ .showClearBrowsingDataDialog();
},
});

Powered by Google App Engine
This is Rietveld 408576698