Index: third_party/WebKit/Source/web/WebViewImpl.h |
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h |
index 5f78c91f552ae4dfbe5d8a63e40aecac4ae47a1f..91fccf77d09e2c73c9aa3c1bc733ba2894a52e78 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.h |
+++ b/third_party/WebKit/Source/web/WebViewImpl.h |
@@ -84,6 +84,7 @@ class UserGestureToken; |
class WebActiveGestureAnimation; |
class WebDevToolsAgentImpl; |
class WebElement; |
+class WebInputMethodControllerImpl; |
class WebLayerTreeView; |
class WebLocalFrame; |
class WebLocalFrameImpl; |
@@ -136,13 +137,6 @@ class WEB_EXPORT WebViewImpl final |
float browserControlsShownRatioDelta) override; |
void mouseCaptureLost() override; |
void setFocus(bool enable) override; |
- bool setComposition(const WebString& text, |
- const WebVector<WebCompositionUnderline>& underlines, |
- int selectionStart, |
- int selectionEnd) override; |
- bool commitText(const WebString& text, int relativeCaretPosition) override; |
- bool finishComposingText( |
- ConfirmCompositionBehavior selectionBehavior) override; |
WebRange compositionRange() override; |
WebTextInputInfo textInputInfo() override; |
WebTextInputType textInputType() override; |
@@ -512,6 +506,11 @@ class WEB_EXPORT WebViewImpl final |
ChromeClientImpl& chromeClient() const { return *m_chromeClientImpl.get(); } |
private: |
+ // Returns the currently active WebInputMethodController which the one |
+ // corresponding to the focused frame. It will return nullptr if there are |
+ // none or |m_imeAcceptEvents| is false. |
+ WebInputMethodControllerImpl* getActiveWebInputMethodController() const; |
+ |
InspectorOverlay* inspectorOverlay(); |
void setPageScaleFactorAndLocation(float, const FloatPoint&); |