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

Unified Diff: ui/keyboard/keyboard_controller.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: 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: ui/keyboard/keyboard_controller.cc
diff --git a/ui/keyboard/keyboard_controller.cc b/ui/keyboard/keyboard_controller.cc
index 351cf5774bcaa36ac754f985ebd71c85939cb31d..1446b0159f8a1ca850a2280d27732225ac87fc55 100644
--- a/ui/keyboard/keyboard_controller.cc
+++ b/ui/keyboard/keyboard_controller.cc
@@ -292,6 +292,9 @@ void KeyboardController::NotifyKeyboardBoundsChanging(
} else {
ResetWindowInsets();
}
+ FOR_EACH_OBSERVER(KeyboardControllerObserver,
+ observer_list_,
+ OnKeyboardBoundsChanged(new_bounds));
} else {
current_keyboard_bounds_ = gfx::Rect();
}

Powered by Google App Engine
This is Rietveld 408576698