Chromium Code Reviews| Index: ui/keyboard/keyboard_controller.cc |
| diff --git a/ui/keyboard/keyboard_controller.cc b/ui/keyboard/keyboard_controller.cc |
| index 9065ac6f2bbd7eab72ec2ffc8b1238f4e0bee993..66a0b9e826caea51f3252a65bd27f3af4704169e 100644 |
| --- a/ui/keyboard/keyboard_controller.cc |
| +++ b/ui/keyboard/keyboard_controller.cc |
| @@ -245,6 +245,7 @@ KeyboardController::KeyboardController(KeyboardControllerProxy* proxy) |
| weak_factory_(this) { |
| CHECK(proxy); |
| input_method_ = proxy_->GetInputMethod(); |
| + input_method_->SetSupportsOnScreenKeyboard(true); |
| input_method_->AddObserver(this); |
| window_bounds_observer_.reset(new WindowBoundsChangeObserver()); |
| } |
| @@ -478,6 +479,7 @@ void KeyboardController::ShowKeyboardInternal() { |
| proxy_->ReloadKeyboardIfNeeded(); |
| if (keyboard_visible_) { |
| + proxy_->GetInputMethod()->GetTextInputClient()->OnKeyboardBoundsUnchanged(); |
|
Shu Chen
2014/12/31 02:02:28
should this be moved to ShowAnimationFinished?
please use gerrit instead
2015/01/02 20:41:28
ShowAnimationFinished() triggers ScrollFocusedElem
|
| return; |
| } else if (proxy_->GetKeyboardWindow()->bounds().height() == 0) { |
| show_on_resize_ = true; |