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

Unified Diff: chrome/browser/resources/settings/printing_page/cups_printers.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/printing_page/cups_printers.js
diff --git a/chrome/browser/resources/settings/printing_page/cups_printers.js b/chrome/browser/resources/settings/printing_page/cups_printers.js
index b9c0e00b28efbc31abd4fc10933788ed5d47aa65..95def654e512aaab903fcc8b998a7c5d421dd181 100644
--- a/chrome/browser/resources/settings/printing_page/cups_printers.js
+++ b/chrome/browser/resources/settings/printing_page/cups_printers.js
@@ -121,6 +121,6 @@ Polymer({
/** @private */
onAddPrinterDialogClose_: function() {
- this.$$('#addPrinter').focus();
+ cr.ui.focusWithoutInk(assert(this.$$('#addPrinter')));
},
});

Powered by Google App Engine
This is Rietveld 408576698