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

Unified Diff: third_party/WebKit/Source/web/WebViewFrameWidget.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/WebViewFrameWidget.h
diff --git a/third_party/WebKit/Source/web/WebViewFrameWidget.h b/third_party/WebKit/Source/web/WebViewFrameWidget.h
index cf4cad07654c10a2de123ea9f09917b1b2dc6dc9..fcf7e4f6792f55de95551d2425c65baa7ba54d5c 100644
--- a/third_party/WebKit/Source/web/WebViewFrameWidget.h
+++ b/third_party/WebKit/Source/web/WebViewFrameWidget.h
@@ -7,6 +7,7 @@
#include "platform/heap/Handle.h"
#include "web/WebFrameWidgetBase.h"
+#include "web/WebInputMethodControllerImpl.h"
#include "web/WebLocalFrameImpl.h"
#include "wtf/Noncopyable.h"
#include "wtf/RefPtr.h"
@@ -64,13 +65,6 @@ class WebViewFrameWidget : public WebFrameWidgetBase {
float browserControlsShownRatioDelta) override;
void mouseCaptureLost() override;
void setFocus(bool) 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;
@@ -99,6 +93,8 @@ class WebViewFrameWidget : public WebFrameWidgetBase {
void setIsTransparent(bool) override;
void setBaseBackgroundColor(WebColor) override;
WebLocalFrameImpl* localRoot() override;
+ WebInputMethodControllerImpl* getActiveWebInputMethodController()
+ const override;
// WebFrameWidgetBase overrides:
bool forSubframe() const override { return false; }

Powered by Google App Engine
This is Rietveld 408576698