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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 2333813002: Introduce WebInputMethodController to blink (Closed)
Patch Set: Rebased Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/WebViewFrameWidget.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6edb9d6272c03adf28f8f5f49a7796371434d130..06cec421f20b21cd09df6bfcc56a516baa32d2f6 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;
@@ -513,6 +507,11 @@ class WEB_EXPORT WebViewImpl final
void setDoingDragAndDrop(bool doing) { m_doingDragAndDrop = doing; }
+ // 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;
+
private:
InspectorOverlay* inspectorOverlay();
« no previous file with comments | « third_party/WebKit/Source/web/WebViewFrameWidget.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698