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

Unified Diff: chrome/browser/resources/print_preview/margin_textbox.js

Issue 8394020: Print Preview: Improving accessibility of margins UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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/print_preview/margin_textbox.js
diff --git a/chrome/browser/resources/print_preview/margin_textbox.js b/chrome/browser/resources/print_preview/margin_textbox.js
index 3f3e80d344a6c800888498f13df1fba3358a1be7..76902f1d841a9dfaebfa7271fa4220b42cfd4d58 100644
--- a/chrome/browser/resources/print_preview/margin_textbox.js
+++ b/chrome/browser/resources/print_preview/margin_textbox.js
@@ -133,6 +133,9 @@ cr.define('print_preview', function() {
this.onblur = this.onBlur_.bind(this);
this.onkeypress = this.onKeyPressed_.bind(this);
this.onkeyup = this.onKeyUp_.bind(this);
+ this.onfocus = function() {
+ cr.dispatchSimpleEvent(document, 'marginTextboxFocused');
+ };
},
/**

Powered by Google App Engine
This is Rietveld 408576698