| Index: ui/keyboard/keyboard_layout_manager.cc
|
| diff --git a/ui/keyboard/keyboard_layout_manager.cc b/ui/keyboard/keyboard_layout_manager.cc
|
| index d7faf0fa7ab27cf20608019ccb880abe80b4e215..9946060cd9668396af686bca34061953533bc39b 100644
|
| --- a/ui/keyboard/keyboard_layout_manager.cc
|
| +++ b/ui/keyboard/keyboard_layout_manager.cc
|
| @@ -56,7 +56,10 @@ void KeyboardLayoutManager::SetChildBounds(aura::Window* child,
|
| // case the show keyboard request is called before the height is set.
|
| controller_->ShowKeyboard(false);
|
| } else {
|
| - controller_->NotifyKeyboardBoundsChanging(requested_bounds);
|
| + // We need to send out this notification only if keyboard is visible since
|
| + // keyboard window is resized even if keyboard is hidden.
|
| + if (controller_->keyboard_visible())
|
| + controller_->NotifyKeyboardBoundsChanging(requested_bounds);
|
| }
|
| }
|
|
|
|
|