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..962d66366b4e2cc508699dd7ad66189eab29fed9 100644 |
| --- a/ui/keyboard/keyboard_controller.h |
| +++ b/ui/keyboard/keyboard_controller.h |
| @@ -25,6 +25,8 @@ class TextInputClient; |
| namespace keyboard { |
| +extern const int kHideKeyboardDelayMs; |
| + |
| class KeyboardControllerObserver; |
| class KeyboardControllerProxy; |
| class KeyboardLayoutManager; |
| @@ -61,9 +63,16 @@ 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 keyboard flicking |
|
kevers
2013/08/26 15:50:18
keyboard flicking --> layout flicker
bshe
2013/08/26 18:39:17
Done.
|
| + // when the focus of input feild quickly change. |
|
sadrul
2013/08/26 17:30:31
*field
bshe
2013/08/26 18:39:17
Done.
|
| + void HideKeyboard(); |
| + |
| scoped_ptr<KeyboardControllerProxy> proxy_; |
| aura::Window* container_; |
| ui::InputMethod* input_method_; |
| + bool keyboard_visible_; |
| + base::WeakPtrFactory<KeyboardController> weak_factory_; |
| ObserverList<KeyboardControllerObserver> observer_list_; |