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

Unified Diff: chrome/browser/resources/gaia_auth/main.js

Issue 95713002: Inline signin UI should auto focus gaia frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: only focus for the inline mode Created 7 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/gaia_auth/main.js
diff --git a/chrome/browser/resources/gaia_auth/main.js b/chrome/browser/resources/gaia_auth/main.js
index ced0c3d99a5003e815329d9ba5a485e239ede305..3b8ab20f95b13eb73c20505b2a565420e95959de 100644
--- a/chrome/browser/resources/gaia_auth/main.js
+++ b/chrome/browser/resources/gaia_auth/main.js
@@ -188,6 +188,9 @@ Authenticator.prototype = {
'method': 'loginUILoaded'
};
window.parent.postMessage(msg, this.parentPage_);
+ if (this.inlineMode_) {
+ $('gaia-frame').focus();
+ }
},
onConfirmLogin_: function() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698