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

Unified Diff: components/test_runner/web_widget_test_client.cc

Issue 2333813002: Introduce WebInputMethodController to blink (Closed)
Patch Set: Explicitly asking for TextInputState updates 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: 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();

Powered by Google App Engine
This is Rietveld 408576698