Index: third_party/WebKit/Source/core/editing/InputMethodController.h |
diff --git a/third_party/WebKit/Source/core/editing/InputMethodController.h b/third_party/WebKit/Source/core/editing/InputMethodController.h |
index 36d48be30b1c8968d56fe0eda8b2e7c8cac795ed..3b671f17a5c5c96de8eb6a10ca9adc42154c0035 100644 |
--- a/third_party/WebKit/Source/core/editing/InputMethodController.h |
+++ b/third_party/WebKit/Source/core/editing/InputMethodController.h |
@@ -36,6 +36,7 @@ |
#include "platform/heap/Handle.h" |
#include "public/platform/WebTextInputInfo.h" |
#include "public/platform/WebTextInputType.h" |
+#include "public/web/WebTextSuggestionInfo.h" |
#include "wtf/Vector.h" |
namespace blink { |
@@ -82,6 +83,10 @@ class CORE_EXPORT InputMethodController final |
// KeepSelection. |
bool finishComposingText(ConfirmCompositionBehavior); |
+ void applySuggestionReplacement(int documentMarkerID, int suggestionIndex); |
+ void deleteSuggestionHighlight(); |
+ void suggestionMenuClosed(); |
+ |
// Deletes the existing composition text. |
void cancelComposition(); |
@@ -103,6 +108,9 @@ class CORE_EXPORT InputMethodController final |
void deleteSurroundingText(int before, int after); |
WebTextInputInfo textInputInfo() const; |
WebTextInputType textInputType() const; |
+ WebVector<blink::WebTextSuggestionInfo> getTextSuggestionInfosUnderCaret() |
+ const; |
+ void prepareForTextSuggestionMenuToBeShown(); |
// Call this when we will change focus. |
void willChangeFocus(); |
@@ -132,6 +140,7 @@ class CORE_EXPORT InputMethodController final |
void addCompositionUnderlines(const Vector<CompositionUnderline>& underlines, |
ContainerNode* rootEditableElement, |
unsigned offset); |
+ void clearSuggestionMarkersTouchingSelection(); |
bool insertText(const String&); |
bool insertTextAndMoveCaret(const String&, |