Index: components/test_runner/web_widget_test_proxy.cc |
diff --git a/components/test_runner/web_widget_test_proxy.cc b/components/test_runner/web_widget_test_proxy.cc |
index d3d4036d2ecd0499c83a3920a6ed6989336ca545..497c96eb5499df63202bde80e487007b0f7c2cb6 100644 |
--- a/components/test_runner/web_widget_test_proxy.cc |
+++ b/components/test_runner/web_widget_test_proxy.cc |
@@ -4,10 +4,23 @@ |
#include "components/test_runner/web_widget_test_proxy.h" |
+#include "components/test_runner/event_sender.h" |
+ |
namespace test_runner { |
-WebWidgetTestProxyBase::WebWidgetTestProxyBase() : web_widget_(nullptr) {} |
+WebWidgetTestProxyBase::WebWidgetTestProxyBase() |
+ : web_widget_(nullptr), |
+ web_view_test_proxy_base_(nullptr), |
+ event_sender_(new EventSender(this)) {} |
WebWidgetTestProxyBase::~WebWidgetTestProxyBase() {} |
+void WebWidgetTestProxyBase::Reset() { |
+ event_sender_->Reset(); |
+} |
+ |
+void WebWidgetTestProxyBase::BindTo(blink::WebLocalFrame* frame) { |
+ event_sender_->Install(frame); |
+} |
+ |
} // namespace test_runner |