OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_BASE_IME_INPUT_METHOD_OBSERVER_H_ | 5 #ifndef UI_BASE_IME_INPUT_METHOD_OBSERVER_H_ |
6 #define UI_BASE_IME_INPUT_METHOD_OBSERVER_H_ | 6 #define UI_BASE_IME_INPUT_METHOD_OBSERVER_H_ |
7 | 7 |
8 #include "ui/base/ui_base_export.h" | 8 #include "ui/base/ui_base_export.h" |
9 | 9 |
10 namespace ui { | 10 namespace ui { |
(...skipping 25 matching lines...) Expand all Loading... |
36 // - the TextInputClient is changed (e.g. by a change of focus) | 36 // - the TextInputClient is changed (e.g. by a change of focus) |
37 // - the TextInputType of the TextInputClient changes | 37 // - the TextInputType of the TextInputClient changes |
38 virtual void OnTextInputStateChanged(const TextInputClient* client) = 0; | 38 virtual void OnTextInputStateChanged(const TextInputClient* client) = 0; |
39 | 39 |
40 // Called when the observed InputMethod is being destroyed. | 40 // Called when the observed InputMethod is being destroyed. |
41 virtual void OnInputMethodDestroyed(const InputMethod* input_method) = 0; | 41 virtual void OnInputMethodDestroyed(const InputMethod* input_method) = 0; |
42 | 42 |
43 // Called when a user gesture should trigger showing the virtual keyboard | 43 // Called when a user gesture should trigger showing the virtual keyboard |
44 // or alternate input view (e.g. handwriting palette). Used in ChromeOS. | 44 // or alternate input view (e.g. handwriting palette). Used in ChromeOS. |
45 virtual void OnShowImeIfNeeded() = 0; | 45 virtual void OnShowImeIfNeeded() = 0; |
| 46 |
| 47 // Called by an on screen keyboard controller when the on screen keyboard was |
| 48 // requested to be shown, but was already showing. |
| 49 virtual void OnKeyboardBoundsUnchanged() = 0; |
46 }; | 50 }; |
47 | 51 |
48 } // namespace ui | 52 } // namespace ui |
49 | 53 |
50 #endif // UI_BASE_IME_INPUT_METHOD_OBSERVER_H_ | 54 #endif // UI_BASE_IME_INPUT_METHOD_OBSERVER_H_ |
OLD | NEW |