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

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

Issue 2899533002: [MD settings] move <dialog> out of content (Closed)
Patch Set: focusWithoutInk Created 3 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
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 2131c6adcc1e6bad1f3f2121fe3628a7370309ac..2b25833a4a87f8f845c971ba8680789af8af0c81 100644
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.js
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.js
@@ -190,6 +190,11 @@ Polymer({
this.showDoNotTrackDialog_ = false;
},
+ /** @private */
+ onDoNotTrackDialogClosed_: function() {
+ cr.ui.focusWithoutInk(assert(this.$.doNotTrack));
hcarmona 2017/05/24 18:05:37 NIT: is the assert necessary?
dschuyler 2017/05/24 20:39:07 done.
+ },
+
/**
* Handles the shared proxy confirmation dialog 'Confirm' button.
* @private

Powered by Google App Engine
This is Rietveld 408576698