Chromium Code Reviews| Index: ui/keyboard/keyboard_controller.h |
| diff --git a/ui/keyboard/keyboard_controller.h b/ui/keyboard/keyboard_controller.h |
| index 6022339c38072319d4dbf48a976b3d6904df8c3e..31f57defbb455f40cb0b09f6008236d92f90afb7 100644 |
| --- a/ui/keyboard/keyboard_controller.h |
| +++ b/ui/keyboard/keyboard_controller.h |
| @@ -61,9 +61,18 @@ class KEYBOARD_EXPORT KeyboardController : public ui::InputMethodObserver, |
| virtual void OnInputMethodDestroyed( |
| const ui::InputMethod* input_method) OVERRIDE; |
| + // Hides virtual keyboard and notifies observer bounds change. |
| + // This functions should be called with a delay to avoid layout flicker |
| + // when the focus of input field quickly change. |
| + void HideKeyboard(); |
| + |
| + bool WillHideKeyboard(); |
|
sadrul
2013/08/29 23:43:54
make this const
bshe
2013/08/30 15:54:19
Done.
|
| + |
| scoped_ptr<KeyboardControllerProxy> proxy_; |
| aura::Window* container_; |
| ui::InputMethod* input_method_; |
| + bool keyboard_visible_; |
| + base::WeakPtrFactory<KeyboardController> weak_factory_; |
| ObserverList<KeyboardControllerObserver> observer_list_; |