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); | |
100 | 99 |
101 AccessibilityController* accessibility_controller() { | 100 AccessibilityController* accessibility_controller() { |
102 return accessibility_controller_.get(); | 101 return accessibility_controller_.get(); |
103 } | 102 } |
104 | 103 |
105 TestRunnerForSpecificView* view_test_runner() { | 104 TestRunnerForSpecificView* view_test_runner() { |
106 return view_test_runner_.get(); | 105 return view_test_runner_.get(); |
107 } | 106 } |
108 | 107 |
109 void Reset(); | 108 void Reset(); |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 | 250 |
252 private: | 251 private: |
253 virtual ~WebTestProxy() {} | 252 virtual ~WebTestProxy() {} |
254 | 253 |
255 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); | 254 DISALLOW_COPY_AND_ASSIGN(WebTestProxy); |
256 }; | 255 }; |
257 | 256 |
258 } // namespace test_runner | 257 } // namespace test_runner |
259 | 258 |
260 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ | 259 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_PROXY_H_ |
OLD | NEW |