OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_SHELL_TEST_RUNNER_WEB_TEST_INTERFACES_H_ | 5 #ifndef CONTENT_SHELL_TEST_RUNNER_WEB_TEST_INTERFACES_H_ |
6 #define CONTENT_SHELL_TEST_RUNNER_WEB_TEST_INTERFACES_H_ | 6 #define CONTENT_SHELL_TEST_RUNNER_WEB_TEST_INTERFACES_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 27 matching lines...) Expand all Loading... |
38 class WebWidgetTestClient; | 38 class WebWidgetTestClient; |
39 | 39 |
40 class TEST_RUNNER_EXPORT WebTestInterfaces { | 40 class TEST_RUNNER_EXPORT WebTestInterfaces { |
41 public: | 41 public: |
42 WebTestInterfaces(); | 42 WebTestInterfaces(); |
43 ~WebTestInterfaces(); | 43 ~WebTestInterfaces(); |
44 | 44 |
45 void SetMainView(blink::WebView* web_view); | 45 void SetMainView(blink::WebView* web_view); |
46 void SetDelegate(WebTestDelegate* delegate); | 46 void SetDelegate(WebTestDelegate* delegate); |
47 void ResetAll(); | 47 void ResetAll(); |
| 48 bool TestIsRunning(); |
48 void SetTestIsRunning(bool running); | 49 void SetTestIsRunning(bool running); |
49 void ConfigureForTestWithURL(const blink::WebURL& test_url, | 50 void ConfigureForTestWithURL(const blink::WebURL& test_url, |
50 bool generate_pixels); | 51 bool generate_pixels); |
51 | 52 |
52 WebTestRunner* TestRunner(); | 53 WebTestRunner* TestRunner(); |
53 blink::WebThemeEngine* ThemeEngine(); | 54 blink::WebThemeEngine* ThemeEngine(); |
54 | 55 |
55 blink::WebMediaStreamCenter* CreateMediaStreamCenter( | 56 blink::WebMediaStreamCenter* CreateMediaStreamCenter( |
56 blink::WebMediaStreamCenterClient* client); | 57 blink::WebMediaStreamCenterClient* client); |
57 blink::WebRTCPeerConnectionHandler* CreateWebRTCPeerConnectionHandler( | 58 blink::WebRTCPeerConnectionHandler* CreateWebRTCPeerConnectionHandler( |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 | 93 |
93 private: | 94 private: |
94 std::unique_ptr<TestInterfaces> interfaces_; | 95 std::unique_ptr<TestInterfaces> interfaces_; |
95 | 96 |
96 DISALLOW_COPY_AND_ASSIGN(WebTestInterfaces); | 97 DISALLOW_COPY_AND_ASSIGN(WebTestInterfaces); |
97 }; | 98 }; |
98 | 99 |
99 } // namespace test_runner | 100 } // namespace test_runner |
100 | 101 |
101 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_TEST_INTERFACES_H_ | 102 #endif // CONTENT_SHELL_TEST_RUNNER_WEB_TEST_INTERFACES_H_ |
OLD | NEW |