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

Unified Diff: components/test_runner/web_test_proxy.cc

Issue 2036873002: Making EventSender talk to the right WebWidget (for OOPIF support). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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_test_proxy.cc
diff --git a/components/test_runner/web_test_proxy.cc b/components/test_runner/web_test_proxy.cc
index 8e4ad2046c503a1c514cf0f1b798c08c72cef7e5..9516523533aae90be977670badc9717468581969 100644
--- a/components/test_runner/web_test_proxy.cc
+++ b/components/test_runner/web_test_proxy.cc
@@ -8,7 +8,6 @@
#include <stdint.h>
#include "components/test_runner/accessibility_controller.h"
-#include "components/test_runner/event_sender.h"
#include "components/test_runner/mock_screen_orientation_client.h"
#include "components/test_runner/test_interfaces.h"
#include "components/test_runner/test_runner.h"
@@ -25,7 +24,6 @@ WebTestProxyBase::WebTestProxyBase()
web_view_(nullptr),
web_widget_(nullptr),
accessibility_controller_(new AccessibilityController(this)),
- event_sender_(new EventSender(this)),
text_input_controller_(new TextInputController(this)),
view_test_runner_(new TestRunnerForSpecificView(this)) {}
@@ -38,20 +36,14 @@ void WebTestProxyBase::SetInterfaces(WebTestInterfaces* interfaces) {
test_interfaces_->WindowOpened(this);
}
-void WebTestProxyBase::SetSendWheelGestures(bool send_gestures) {
- event_sender_->set_send_wheel_gestures(send_gestures);
-}
-
void WebTestProxyBase::Reset() {
accessibility_controller_->Reset();
- event_sender_->Reset();
// text_input_controller_ doesn't have any state to reset.
view_test_runner_->Reset();
}
void WebTestProxyBase::BindTo(blink::WebLocalFrame* frame) {
accessibility_controller_->Install(frame);
- event_sender_->Install(frame);
text_input_controller_->Install(frame);
view_test_runner_->Install(frame);
}

Powered by Google App Engine
This is Rietveld 408576698