| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_H_ | 5 #ifndef UI_BASE_IME_INPUT_METHOD_H_ |
| 6 #define UI_BASE_IME_INPUT_METHOD_H_ | 6 #define UI_BASE_IME_INPUT_METHOD_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 virtual TextInputMode GetTextInputMode() const = 0; | 167 virtual TextInputMode GetTextInputMode() const = 0; |
| 168 | 168 |
| 169 // Checks if the focused text input client supports inline composition. | 169 // Checks if the focused text input client supports inline composition. |
| 170 virtual bool CanComposeInline() const = 0; | 170 virtual bool CanComposeInline() const = 0; |
| 171 | 171 |
| 172 // Returns true if we know for sure that a candidate window (or IME suggest, | 172 // Returns true if we know for sure that a candidate window (or IME suggest, |
| 173 // etc.) is open. Returns false if no popup window is open or the detection | 173 // etc.) is open. Returns false if no popup window is open or the detection |
| 174 // of IME popups is not supported. | 174 // of IME popups is not supported. |
| 175 virtual bool IsCandidatePopupOpen() const = 0; | 175 virtual bool IsCandidatePopupOpen() const = 0; |
| 176 | 176 |
| 177 // Displays an on screen keyboard if enabled. |
| 178 virtual void ShowVirtualKeyboard() = 0; |
| 179 |
| 177 // Management of the observer list. | 180 // Management of the observer list. |
| 178 virtual void AddObserver(InputMethodObserver* observer) = 0; | 181 virtual void AddObserver(InputMethodObserver* observer) = 0; |
| 179 virtual void RemoveObserver(InputMethodObserver* observer) = 0; | 182 virtual void RemoveObserver(InputMethodObserver* observer) = 0; |
| 180 }; | 183 }; |
| 181 | 184 |
| 182 } // namespace ui | 185 } // namespace ui |
| 183 | 186 |
| 184 #endif // UI_BASE_IME_INPUT_METHOD_H_ | 187 #endif // UI_BASE_IME_INPUT_METHOD_H_ |
| OLD | NEW |