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 4e2893a1d6079206e82fb4a722a7a48419da675e..e7944ae52eb57bcab25c04c148575cccc5a7277b 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" |
@@ -1569,6 +1570,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++; |
@@ -2397,4 +2399,8 @@ void WebLocalFrameImpl::usageCountChromeLoadTimes(const WebString& metric) { |
UseCounter::count(frame(), feature); |
} |
+WebInputMethodControllerImpl* WebLocalFrameImpl::inputMethodController() const { |
+ return m_inputMethodController.get(); |
+} |
+ |
} // namespace blink |