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

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

Issue 2333813002: Introduce WebInputMethodController to blink (Closed)
Patch Set: Moved ConfirmCompositionBehavior to WebInputMethodController Created 4 years, 3 months 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 9ef1278630d4b8c6ff393665b38b9de5886ce069..b9357c6b5c8fc2b7c317a4b30f4b219d1f293d2a 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"
@@ -61,13 +62,6 @@ public:
float topControlsShownRatioDelta) 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;
@@ -94,6 +88,7 @@ public:
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