OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_KEYBOARD_WEBUI_VK_MOJO_HANDLER_H_ | 5 #ifndef UI_KEYBOARD_WEBUI_VK_MOJO_HANDLER_H_ |
6 #define UI_KEYBOARD_WEBUI_VK_MOJO_HANDLER_H_ | 6 #define UI_KEYBOARD_WEBUI_VK_MOJO_HANDLER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "mojo/public/cpp/bindings/binding.h" | 9 #include "mojo/public/cpp/bindings/binding.h" |
10 #include "ui/base/ime/input_method_observer.h" | 10 #include "ui/base/ime/input_method_observer.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 void HideKeyboard() override; | 30 void HideKeyboard() override; |
31 | 31 |
32 // ui::InputMethodObserver: | 32 // ui::InputMethodObserver: |
33 void OnTextInputTypeChanged(const ui::TextInputClient* client) override; | 33 void OnTextInputTypeChanged(const ui::TextInputClient* client) override; |
34 void OnFocus() override; | 34 void OnFocus() override; |
35 void OnBlur() override; | 35 void OnBlur() override; |
36 void OnCaretBoundsChanged(const ui::TextInputClient* client) override; | 36 void OnCaretBoundsChanged(const ui::TextInputClient* client) override; |
37 void OnTextInputStateChanged(const ui::TextInputClient* text_client) override; | 37 void OnTextInputStateChanged(const ui::TextInputClient* text_client) override; |
38 void OnInputMethodDestroyed(const ui::InputMethod* input_method) override; | 38 void OnInputMethodDestroyed(const ui::InputMethod* input_method) override; |
39 void OnShowImeIfNeeded() override; | 39 void OnShowImeIfNeeded() override; |
| 40 void OnKeyboardBoundsUnchanged() override; |
40 | 41 |
41 mojo::Binding<KeyboardUIHandlerMojo> binding_; | 42 mojo::Binding<KeyboardUIHandlerMojo> binding_; |
42 | 43 |
43 DISALLOW_COPY_AND_ASSIGN(VKMojoHandler); | 44 DISALLOW_COPY_AND_ASSIGN(VKMojoHandler); |
44 }; | 45 }; |
45 | 46 |
46 } // namespace keyboard | 47 } // namespace keyboard |
47 | 48 |
48 #endif // UI_KEYBOARD_WEBUI_VK_MOJO_HANDLER_H_ | 49 #endif // UI_KEYBOARD_WEBUI_VK_MOJO_HANDLER_H_ |
OLD | NEW |