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

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

Issue 2333813002: Introduce WebInputMethodController to blink (Closed)
Patch Set: Explicitly asking for TextInputState updates 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
Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.h
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.h b/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
index 965b0f9fc9850a8af95181009ebc051e545b12a7..f842c7f496f44c7f54e78394f82f706b8729d095 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.h
@@ -37,8 +37,10 @@
#include "public/platform/WebPoint.h"
#include "public/platform/WebSize.h"
#include "public/web/WebInputEvent.h"
+#include "public/web/WebInputMethodController.h"
#include "web/PageWidgetDelegate.h"
#include "web/WebFrameWidgetBase.h"
+#include "web/WebInputMethodControllerImpl.h"
#include "web/WebLocalFrameImpl.h"
#include "web/WebViewImpl.h"
#include "wtf/Assertions.h"
@@ -96,13 +98,6 @@ class WebFrameWidgetImpl final
float browserControlsDelta) 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;
@@ -127,6 +122,8 @@ class WebFrameWidgetImpl final
bool isTransparent() const override;
void setIsTransparent(bool) override;
void setBaseBackgroundColor(WebColor) override;
+ WebInputMethodControllerImpl* getActiveWebInputMethodController()
+ const override;
Frame* focusedCoreFrame() const;

Powered by Google App Engine
This is Rietveld 408576698