Index: components/test_runner/web_frame_test_proxy.cc |
diff --git a/components/test_runner/web_frame_test_proxy.cc b/components/test_runner/web_frame_test_proxy.cc |
index bb00adea1a3431f767e4436a4582d89d8343d137..6311389a30bf8283a22be79c527363eac088ecd2 100644 |
--- a/components/test_runner/web_frame_test_proxy.cc |
+++ b/components/test_runner/web_frame_test_proxy.cc |
@@ -4,9 +4,27 @@ |
#include "components/test_runner/web_frame_test_proxy.h" |
+#include "components/test_runner/event_sender.h" |
+ |
namespace test_runner { |
-WebFrameTestProxyBase::WebFrameTestProxyBase() : web_frame_(nullptr) {} |
+WebFrameTestProxyBase::WebFrameTestProxyBase() |
+ : web_frame_(nullptr), |
+ web_test_proxy_base_(nullptr), |
+ event_sender_(new EventSender(this)) {} |
+ |
WebFrameTestProxyBase::~WebFrameTestProxyBase() {} |
+void WebFrameTestProxyBase::SetSendWheelGestures(bool send_gestures) { |
+ event_sender_->set_send_wheel_gestures(send_gestures); |
+} |
+ |
+void WebFrameTestProxyBase::Reset() { |
+ event_sender_->Reset(); |
+} |
+ |
+void WebFrameTestProxyBase::BindTo(blink::WebLocalFrame* frame) { |
+ event_sender_->Install(frame); |
+} |
+ |
} // namespace test_runner |