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

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

Issue 2333813002: Introduce WebInputMethodController to blink (Closed)
Patch Set: Replacing the angry copyright with the shorter one. 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.cpp
diff --git a/third_party/WebKit/Source/web/WebViewFrameWidget.cpp b/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
index a70cb9644d28ebd648ff1bde2d79d5a41ae717f3..7d6f0bca5f86951386d414c9db3669208f3018be 100644
--- a/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
+++ b/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
@@ -4,6 +4,7 @@
#include "web/WebViewFrameWidget.h"
+#include "web/WebInputMethodControllerImpl.h"
#include "web/WebLocalFrameImpl.h"
#include "web/WebViewImpl.h"
@@ -128,25 +129,6 @@ void WebViewFrameWidget::setFocus(bool enable)
return m_webView->setFocus(enable);
}
-bool WebViewFrameWidget::setComposition(
- const WebString& text,
- const WebVector<WebCompositionUnderline>& underlines,
- int selectionStart,
- int selectionEnd)
-{
- return m_webView->setComposition(text, underlines, selectionStart, selectionEnd);
-}
-
-bool WebViewFrameWidget::finishComposingText(ConfirmCompositionBehavior selectionBehavior)
-{
- return m_webView->finishComposingText(selectionBehavior);
-}
-
-bool WebViewFrameWidget::commitText(const WebString& text, int relativeCaretPosition)
-{
- return m_webView->commitText(text, relativeCaretPosition);
-}
-
WebRange WebViewFrameWidget::compositionRange()
{
return m_webView->compositionRange();
@@ -267,6 +249,11 @@ WebLocalFrameImpl* WebViewFrameWidget::localRoot()
return m_webView->mainFrameImpl();
}
+WebInputMethodControllerImpl* WebViewFrameWidget::getActiveWebInputMethodController() const
+{
+ return m_webView->getActiveWebInputMethodController();
+}
+
void WebViewFrameWidget::scheduleAnimation()
{
m_webView->scheduleAnimationForWidget();

Powered by Google App Engine
This is Rietveld 408576698