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

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: different approach 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..80bbbf32b2927f89d56c31caac4638d63a1a91bc 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(this.$.clearBrowsingDataTrigger);
},
/** @private */

Powered by Google App Engine
This is Rietveld 408576698