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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.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
Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index c93adb5767ade3e35b22b5afa9462e1a2514db9f..f8d54ae43c0cf1521bcc019e75a1544d11822738 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -203,6 +203,7 @@
#include "public/web/WebHistoryItem.h"
#include "public/web/WebIconURL.h"
#include "public/web/WebInputElement.h"
+#include "public/web/WebInputMethodController.h"
#include "public/web/WebKit.h"
#include "public/web/WebNode.h"
#include "public/web/WebPerformance.h"
@@ -1566,6 +1567,7 @@ WebLocalFrameImpl::WebLocalFrameImpl(WebTreeScopeType scope,
m_contentSettingsClient(0),
m_inputEventsScaleFactorForEmulation(1),
m_webDevToolsFrontend(0),
+ m_inputMethodController(new WebInputMethodControllerImpl(this)),
m_selfKeepAlive(this) {
DCHECK(m_client);
frameCount++;
@@ -2406,4 +2408,8 @@ void WebLocalFrameImpl::usageCountChromeLoadTimes(const WebString& metric) {
UseCounter::count(frame(), feature);
}
+WebInputMethodControllerImpl* WebLocalFrameImpl::inputMethodController() const {
+ return m_inputMethodController.get();
+}
+
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.h ('k') | third_party/WebKit/Source/web/WebViewFrameWidget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698