Index: third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp b/third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp |
index d31d2ecc93bad0d4d442464510f362cee61074a4..caa0844841b6065657b2ba9132a3a68d636da970 100644 |
--- a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp |
@@ -134,6 +134,21 @@ bool WebInputMethodControllerImpl::commitText( |
relativeCaretPosition); |
} |
+void WebInputMethodControllerImpl::applySuggestionReplacement( |
+ int documentMarkerID, |
+ int suggestionIndex) { |
+ inputMethodController().applySuggestionReplacement(documentMarkerID, |
+ suggestionIndex); |
+} |
+ |
+void WebInputMethodControllerImpl::deleteSuggestionHighlight() { |
+ inputMethodController().deleteSuggestionHighlight(); |
+} |
+ |
+void WebInputMethodControllerImpl::suggestionMenuClosed() { |
+ inputMethodController().suggestionMenuClosed(); |
+} |
+ |
WebTextInputInfo WebInputMethodControllerImpl::textInputInfo() { |
return frame()->inputMethodController().textInputInfo(); |
} |
@@ -142,6 +157,17 @@ WebTextInputType WebInputMethodControllerImpl::textInputType() { |
return frame()->inputMethodController().textInputType(); |
} |
+WebVector<WebTextSuggestionInfo> |
+WebInputMethodControllerImpl::getTextSuggestionInfosUnderCaret() { |
+ return frame()->inputMethodController().getTextSuggestionInfosUnderCaret(); |
rlanday
2017/01/31 19:50:22
I think all the code in this file that does frame(
|
+} |
+ |
+void WebInputMethodControllerImpl::prepareForTextSuggestionMenuToBeShown() { |
+ return frame() |
+ ->inputMethodController() |
+ .prepareForTextSuggestionMenuToBeShown(); |
+} |
+ |
LocalFrame* WebInputMethodControllerImpl::frame() const { |
return m_webLocalFrame->frame(); |
} |