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

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

Issue 2508363003: [refactor] - Move textInputInfo() and textInputType() from WebWidget to WebInputMethodController (Closed)
Patch Set: Fixed Rebase Created 4 years 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/WebInputMethodControllerImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp b/third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp
index c876be88000948aa001fb1bebcf4a5e7a385e634..3379cd7056db4c23901db604446b83ea5637d003 100644
--- a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp
+++ b/third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp
@@ -130,6 +130,14 @@ bool WebInputMethodControllerImpl::commitText(const WebString& text,
return inputMethodController().commitText(text, relativeCaretPosition);
}
+WebTextInputInfo WebInputMethodControllerImpl::textInputInfo() {
+ return frame()->inputMethodController().textInputInfo();
+}
+
+WebTextInputType WebInputMethodControllerImpl::textInputType() {
+ return frame()->inputMethodController().textInputType();
+}
+
LocalFrame* WebInputMethodControllerImpl::frame() const {
return m_webLocalFrame->frame();
}
« no previous file with comments | « third_party/WebKit/Source/web/WebInputMethodControllerImpl.h ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698