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

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: you wanted this... 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 5912a1bf5423c62aa6cca6f7d4a78fe44cd0b500..b9906c98730e6b1b1b7825711dd7f0193b7c59a4 100644
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.js
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.js
@@ -242,7 +242,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