OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ |
6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ | 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 void set_delegate(WebTestDelegate* delegate) { | 89 void set_delegate(WebTestDelegate* delegate) { |
90 DCHECK(delegate); | 90 DCHECK(delegate); |
91 DCHECK(!delegate_); | 91 DCHECK(!delegate_); |
92 delegate_ = delegate; | 92 delegate_ = delegate; |
93 } | 93 } |
94 | 94 |
95 TestInterfaces* test_interfaces() { return test_interfaces_; } | 95 TestInterfaces* test_interfaces() { return test_interfaces_; } |
96 void SetInterfaces(WebTestInterfaces* web_test_interfaces); | 96 void SetInterfaces(WebTestInterfaces* web_test_interfaces); |
97 | 97 |
98 EventSender* event_sender() { return event_sender_.get(); } | 98 EventSender* event_sender() { return event_sender_.get(); } |
| 99 void SetSendWheelGestures(bool send_gestures); |
99 | 100 |
100 AccessibilityController* accessibility_controller() { | 101 AccessibilityController* accessibility_controller() { |
101 return accessibility_controller_.get(); | 102 return accessibility_controller_.get(); |
102 } | 103 } |
103 | 104 |
104 TestRunnerForSpecificView* view_test_runner() { | 105 TestRunnerForSpecificView* view_test_runner() { |
105 return view_test_runner_.get(); | 106 return view_test_runner_.get(); |
106 } | 107 } |
107 | 108 |
108 void Reset(); | 109 void Reset(); |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 | 251 |
251 private: | 252 private: |
252 virtual ~WebTestProxy() {} | 253 virtual ~WebTestProxy() {} |
253 | 254 |
254 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); | 255 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); |
255 }; | 256 }; |
256 | 257 |
257 } // namespace test_runner | 258 } // namespace test_runner |
258 | 259 |
259 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ | 260 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ |
OLD | NEW |