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 35f082f93ee99b928d653887af87700bbf045d59..e2de01e6a15d10d3b0b1c1b7339ae58210e26c47 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -196,6 +196,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" |
@@ -1471,6 +1472,7 @@ WebLocalFrameImpl::WebLocalFrameImpl(WebTreeScopeType scope, WebFrameClient* cli |
, m_contentSettingsClient(0) |
, m_inputEventsScaleFactorForEmulation(1) |
, m_webDevToolsFrontend(0) |
+ , m_inputMethodController(new WebInputMethodControllerImpl(this)) |
, m_selfKeepAlive(this) |
{ |
frameCount++; |
@@ -2246,4 +2248,9 @@ void WebLocalFrameImpl::usageCountChromeLoadTimes(const WebString& metric) |
UseCounter::count(frame(), feature); |
} |
+WebInputMethodControllerImpl* WebLocalFrameImpl::inputMethodController() const |
+{ |
+ return m_inputMethodController.get(); |
+} |
+ |
} // namespace blink |