| 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 bb349f3bde5d2435a34a4a8878e5ed9e7f0aa1a6..729c00c149a03dc058ac83630f3b7b9f71c111d2 100644
|
| --- a/chrome/browser/resources/gaia_auth/main.js
|
| +++ b/chrome/browser/resources/gaia_auth/main.js
|
| @@ -231,7 +231,13 @@ Authenticator.prototype = {
|
| };
|
| window.parent.postMessage(msg, this.parentPage_);
|
| if (this.inlineMode_) {
|
| - $('gaia-frame').focus();
|
| + // TODO(guohui): temporary workaround until webview team fixes the focus
|
| + // on their side.
|
| + var gaiaFrame = $('gaia-frame');
|
| + gaiaFrame.focus();
|
| + gaiaFrame.onblur = function() {
|
| + gaiaFrame.focus();
|
| + };
|
| }
|
| this.loaded_ = true;
|
| },
|
|
|