| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "components/test_runner/web_widget_test_proxy.h" | |
| 6 | |
| 7 #include "components/test_runner/event_sender.h" | |
| 8 | |
| 9 namespace test_runner { | |
| 10 | |
| 11 WebWidgetTestProxyBase::WebWidgetTestProxyBase() | |
| 12 : web_widget_(nullptr), | |
| 13 web_view_test_proxy_base_(nullptr), | |
| 14 event_sender_(new EventSender(this)) {} | |
| 15 | |
| 16 WebWidgetTestProxyBase::~WebWidgetTestProxyBase() {} | |
| 17 | |
| 18 void WebWidgetTestProxyBase::Reset() { | |
| 19 event_sender_->Reset(); | |
| 20 } | |
| 21 | |
| 22 void WebWidgetTestProxyBase::BindTo(blink::WebLocalFrame* frame) { | |
| 23 event_sender_->Install(frame); | |
| 24 } | |
| 25 | |
| 26 } // namespace test_runner | |
| OLD | NEW |