| 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 e757a6a3b6d8e0f6c30e66a3170799f28588b0ca..7a33a4c73f35ad16248e434e44d099c4fc04cfe9 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 closeSuggestionMenu();
|
| +
|
| // Deletes the existing composition text.
|
| void cancelComposition();
|
|
|
| @@ -104,6 +109,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();
|
| @@ -133,6 +141,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&,
|
|
|