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

Unified Diff: chrome/browser/chromeos/login/lock/webui_screen_locker.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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/screens/core_oobe_actor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/lock/webui_screen_locker.cc
diff --git a/chrome/browser/chromeos/login/lock/webui_screen_locker.cc b/chrome/browser/chromeos/login/lock/webui_screen_locker.cc
index 9df4a3b3600b42de878416b9533fd840e1a3b516..fa72cd9cb260f5ed57535cd779bf5c28f762733c 100644
--- a/chrome/browser/chromeos/login/lock/webui_screen_locker.cc
+++ b/chrome/browser/chromeos/login/lock/webui_screen_locker.cc
@@ -375,16 +375,12 @@ void WebUIScreenLocker::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 {
// Keyboard has been shown.
- if (GetOobeUI()) {
+ if (GetOobeUI())
GetOobeUI()->GetCoreOobeActor()->ShowControlBar(false);
- GetOobeUI()->GetCoreOobeActor()->SetKeyboardState(true, new_bounds);
- }
}
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/screens/core_oobe_actor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698