Chromium Code Reviews| Index: ui/keyboard/keyboard_controller.h |
| diff --git a/ui/keyboard/keyboard_controller.h b/ui/keyboard/keyboard_controller.h |
| index d81bedaf6c2b996cf8f659aeaf59b4f80afd3a81..f82f1c1ab873c9b3b3d4377db2f39af738b1c361 100644 |
| --- a/ui/keyboard/keyboard_controller.h |
| +++ b/ui/keyboard/keyboard_controller.h |
| @@ -92,6 +92,8 @@ class KEYBOARD_EXPORT KeyboardController : public ui::InputMethodObserver, |
| void set_lock_keyboard(bool lock) { lock_keyboard_ = lock; } |
| + KeyboardMode keyboard_mode() { return keyboard_mode_; } |
|
sadrul
2015/04/01 06:43:49
KeyboardMode keyboard_mode() const { return ... }
bshe
2015/04/01 20:41:33
Done.
|
| + |
| void SetKeyboardMode(KeyboardMode mode); |
| // Force the keyboard to show up if not showing and lock the keyboard if |
| @@ -123,6 +125,9 @@ class KEYBOARD_EXPORT KeyboardController : public ui::InputMethodObserver, |
| // Updates insets on web content window |
| void UpdateWindowInsets(aura::Window* window); |
| + // Called when the root window bounds changed. |
| + void OnRootWindowResized(const gfx::Rect& bounds); |
| + |
| private: |
| // For access to Observer methods for simulation. |
| friend class KeyboardControllerTest; |