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

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

Issue 2842303004: MD Settings: update dialogs to focus without ink when using mouse (Closed)
Patch Set: merge Created 3 years, 8 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 c9a025b3a5eab8e93e2dc65d7e1afd4c307fe8c8..2131c6adcc1e6bad1f3f2121fe3628a7370309ac 100644
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.js
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.js
@@ -245,7 +245,7 @@ Polymer({
/** @private */
onDialogClosed_: function() {
settings.navigateToPreviousRoute();
- this.$.clearBrowsingDataTrigger.focus();
+ cr.ui.focusWithoutInk(assert(this.$.clearBrowsingDataTrigger));
},
/** @private */

Powered by Google App Engine
This is Rietveld 408576698