summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/resources/chromeos/login/screen_gaia_signin.js5
-rw-r--r--chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc4
2 files changed, 7 insertions, 2 deletions
diff --git a/chrome/browser/resources/chromeos/login/screen_gaia_signin.js b/chrome/browser/resources/chromeos/login/screen_gaia_signin.js
index c7adf82..1a00aa7 100644
--- a/chrome/browser/resources/chromeos/login/screen_gaia_signin.js
+++ b/chrome/browser/resources/chromeos/login/screen_gaia_signin.js
@@ -187,6 +187,11 @@ login.createScreen('GaiaSigninScreen', 'gaia-signin', function() {
chrome.send('loginUIStateChanged', ['gaia-signin', true]);
$('login-header-bar').signinUIState = SIGNIN_UI_STATE.GAIA_SIGNIN;
+ // Ensure that GAIA signin (or loading UI) is actually visible.
+ window.webkitRequestAnimationFrame(function() {
+ chrome.send('loginVisible', ['gaia-loading']);
+ });
+
// Announce the name of the screen, if accessibility is on.
$('gaia-signin-aria-label').setAttribute(
'aria-label', loadTimeData.getString('signinScreenTitle'));
diff --git a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc
index 09b25c6..7417efc 100644
--- a/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc
@@ -1429,8 +1429,8 @@ void SigninScreenHandler::HandleOpenProxySettings() {
void SigninScreenHandler::HandleLoginVisible(const std::string& source) {
TRACE_EVENT_ASYNC_END0("ui", "ShowLoginWebUI", this);
- LOG(INFO) << "Login WebUI >> LoginVisible, source: " << source << ", "
- << "webui_visible_: " << webui_visible_;
+ LOG(WARNING) << "Login WebUI >> loginVisible, src: " << source << ", "
+ << "webui_visible_: " << webui_visible_;
if (!webui_visible_) {
// There might be multiple messages from OOBE UI so send notifications after
// the first one only.