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