Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: third_party/WebKit/public/web/WebInputMethodController.h

Issue 2650113004: [WIP] Add support for Android SuggestionSpans when editing text (Closed)
Patch Set: Uploading the latest version from my repo so I can reference it Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebFrameWidget.h ('k') | third_party/WebKit/public/web/WebLocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698