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

Unified Diff: chrome/browser/ui/webui/chromeos/login/core_oobe_handler.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 | « chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h ('k') | ui/login/account_picker/user_pod_row.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
index b5f2b6c31b532b4b32f3fbd5291df0926d79e2e5..852df4c57c34308ca1f8da4f2667404e4b9ab828 100644
--- a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
@@ -230,10 +230,6 @@ void CoreOobeHandler::ShowControlBar(bool show) {
CallJS("showControlBar", show);
}
-void CoreOobeHandler::SetKeyboardState(bool shown, const gfx::Rect& bounds) {
- CallJS("setKeyboardState", shown, bounds.width(), bounds.height());
-}
-
void CoreOobeHandler::SetClientAreaSize(int width, int height) {
CallJS("setClientAreaSize", width, height);
}
@@ -387,7 +383,6 @@ void CoreOobeHandler::UpdateKeyboardState() {
if (keyboard_controller) {
gfx::Rect bounds = keyboard_controller->current_keyboard_bounds();
ShowControlBar(bounds.IsEmpty());
- SetKeyboardState(!bounds.IsEmpty(), bounds);
}
}
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h ('k') | ui/login/account_picker/user_pod_row.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698