Index: components/test_runner/web_widget_test_client.cc |
diff --git a/components/test_runner/web_widget_test_client.cc b/components/test_runner/web_widget_test_client.cc |
index add8afdd0ffb75a1e7dc840e6968323ddf82838c..3f29ab9aa9d08b23bbc8ba6a55d6937bbe25c46c 100644 |
--- a/components/test_runner/web_widget_test_client.cc |
+++ b/components/test_runner/web_widget_test_client.cc |
@@ -16,7 +16,11 @@ |
#include "components/test_runner/web_view_test_proxy.h" |
#include "components/test_runner/web_widget_test_proxy.h" |
#include "third_party/WebKit/public/platform/WebScreenInfo.h" |
+#include "third_party/WebKit/public/web/WebFrameWidget.h" |
+#include "third_party/WebKit/public/web/WebInputMethodController.h" |
+#include "third_party/WebKit/public/web/WebLocalFrame.h" |
#include "third_party/WebKit/public/web/WebPagePopup.h" |
+#include "third_party/WebKit/public/web/WebView.h" |
#include "third_party/WebKit/public/web/WebWidget.h" |
namespace test_runner { |
@@ -94,14 +98,6 @@ void WebWidgetTestClient::setToolTipText(const blink::WebString& text, |
test_runner()->setToolTipText(text); |
} |
-void WebWidgetTestClient::resetInputMethod() { |
- // If a composition text exists, then we need to let the browser process |
- // to cancel the input method's ongoing composition session. |
- if (web_widget_test_proxy_base_) |
- web_widget_test_proxy_base_->web_widget()->finishComposingText( |
- blink::WebWidget::KeepSelection); |
-} |
- |
TestRunnerForSpecificView* WebWidgetTestClient::view_test_runner() { |
return web_widget_test_proxy_base_->web_view_test_proxy_base() |
->view_test_runner(); |