OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 WebInputMethodController_h | 5 #ifndef WebInputMethodController_h |
6 #define WebInputMethodController_h | 6 #define WebInputMethodController_h |
7 | 7 |
8 #include "../platform/WebTextInputInfo.h" | 8 #include "../platform/WebTextInputInfo.h" |
9 #include "WebCompositionUnderline.h" | 9 #include "WebCompositionUnderline.h" |
10 #include "WebTextInputType.h" | 10 #include "WebTextInputType.h" |
| 11 #include "WebTextSuggestionInfo.h" |
11 #include "WebWidget.h" | 12 #include "WebWidget.h" |
12 | 13 |
13 namespace blink { | 14 namespace blink { |
14 | 15 |
15 class WebRange; | 16 class WebRange; |
16 class WebString; | 17 class WebString; |
17 template <typename T> | 18 template <typename T> |
18 class WebVector; | 19 class WebVector; |
19 | 20 |
20 class WebInputMethodController { | 21 class WebInputMethodController { |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // plain-text representation of the current editable element. Consider using | 58 // plain-text representation of the current editable element. Consider using |
58 // the lighter-weight textInputType() when appropriate. | 59 // the lighter-weight textInputType() when appropriate. |
59 virtual WebTextInputInfo textInputInfo() { return WebTextInputInfo(); } | 60 virtual WebTextInputInfo textInputInfo() { return WebTextInputInfo(); } |
60 | 61 |
61 // Returns the type of current text input of this controller. | 62 // Returns the type of current text input of this controller. |
62 virtual WebTextInputType textInputType() { return WebTextInputTypeNone; } | 63 virtual WebTextInputType textInputType() { return WebTextInputTypeNone; } |
63 }; | 64 }; |
64 | 65 |
65 } // namespace blink | 66 } // namespace blink |
66 #endif | 67 #endif |
OLD | NEW |