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

Unified Diff: chrome/browser/chromeos/login/ui/login_display_host_impl.cc

Issue 1205063002: Fix user pod not always scroll to the center after VK shows up (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 years, 6 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/chromeos/login/ui/login_display_host_impl.cc
diff --git a/chrome/browser/chromeos/login/ui/login_display_host_impl.cc b/chrome/browser/chromeos/login/ui/login_display_host_impl.cc
index f4ee2967a6be88622c5d383caf8070539796a943..ae9d5658b54785dccebd2a9b6c24d4c10a5518a3 100644
--- a/chrome/browser/chromeos/login/ui/login_display_host_impl.cc
+++ b/chrome/browser/chromeos/login/ui/login_display_host_impl.cc
@@ -858,16 +858,12 @@ void LoginDisplayHostImpl::OnKeyboardBoundsChanging(
const gfx::Rect& new_bounds) {
if (new_bounds.IsEmpty()) {
// Keyboard has been hidden.
- if (GetOobeUI()) {
+ if (GetOobeUI())
GetOobeUI()->GetCoreOobeActor()->ShowControlBar(true);
- GetOobeUI()->GetCoreOobeActor()->SetKeyboardState(false, new_bounds);
- }
} else if (!new_bounds.IsEmpty()) {
// Keyboard has been shown.
- if (GetOobeUI()) {
+ if (GetOobeUI())
GetOobeUI()->GetCoreOobeActor()->ShowControlBar(false);
- GetOobeUI()->GetCoreOobeActor()->SetKeyboardState(true, new_bounds);
- }
}
}
« no previous file with comments | « chrome/browser/chromeos/login/screens/core_oobe_actor.h ('k') | chrome/browser/resources/chromeos/login/login_common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698