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

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

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.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 506f3a2c3d376ceb987df31779067ee4002494af..91eeace2887c40ae9ce3ed4fb94c44fb15f45c23 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"
@@ -114,25 +115,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();
}
@@ -232,6 +214,11 @@ WebLocalFrameImpl* WebViewFrameWidget::localRoot() {
return m_webView->mainFrameImpl();
}
+WebInputMethodControllerImpl*
+WebViewFrameWidget::getActiveWebInputMethodController() const {
+ return m_webView->getActiveWebInputMethodController();
+}
+
void WebViewFrameWidget::scheduleAnimation() {
m_webView->scheduleAnimationForWidget();
}
« no previous file with comments | « third_party/WebKit/Source/web/WebViewFrameWidget.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698