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

Unified Diff: chrome/browser/resources/settings/on_startup_page/startup_urls_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/on_startup_page/startup_urls_page.js
diff --git a/chrome/browser/resources/settings/on_startup_page/startup_urls_page.js b/chrome/browser/resources/settings/on_startup_page/startup_urls_page.js
index c17ed77f63265a3f726178b039968b9c8a5a72f1..1a0b376c8c7d7f17da41796e6d3fdb3d89ec10f4 100644
--- a/chrome/browser/resources/settings/on_startup_page/startup_urls_page.js
+++ b/chrome/browser/resources/settings/on_startup_page/startup_urls_page.js
@@ -77,7 +77,7 @@ Polymer({
this.showStartupUrlDialog_ = false;
this.startupUrlDialogModel_ = null;
if (this.startupUrlDialogAnchor_) {
- this.startupUrlDialogAnchor_.focus();
+ cr.ui.focusWithoutInk(assert(this.startupUrlDialogAnchor_));
this.startupUrlDialogAnchor_ = null;
}
},

Powered by Google App Engine
This is Rietveld 408576698