| 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 COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_ |
| 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_ | 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 class WebTestDelegate; | 35 class WebTestDelegate; |
| 36 class WebTestProxyBase; | 36 class WebTestProxyBase; |
| 37 class WebTestRunner; | 37 class WebTestRunner; |
| 38 class WebViewTestClient; | 38 class WebViewTestClient; |
| 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 SetWebView(blink::WebView* web_view, WebTestProxyBase* proxy); | 45 void SetMainView(blink::WebView* web_view); |
| 46 void SetDelegate(WebTestDelegate* delegate); | 46 void SetDelegate(WebTestDelegate* delegate); |
| 47 void ResetAll(); | 47 void ResetAll(); |
| 48 void SetTestIsRunning(bool running); | 48 void SetTestIsRunning(bool running); |
| 49 void ConfigureForTestWithURL(const blink::WebURL& test_url, | 49 void ConfigureForTestWithURL(const blink::WebURL& test_url, |
| 50 bool generate_pixels); | 50 bool generate_pixels); |
| 51 | 51 |
| 52 WebTestRunner* TestRunner(); | 52 WebTestRunner* TestRunner(); |
| 53 blink::WebThemeEngine* ThemeEngine(); | 53 blink::WebThemeEngine* ThemeEngine(); |
| 54 | 54 |
| 55 blink::WebMediaStreamCenter* CreateMediaStreamCenter( | 55 blink::WebMediaStreamCenter* CreateMediaStreamCenter( |
| (...skipping 29 matching lines...) Expand all Loading... |
| 85 | 85 |
| 86 private: | 86 private: |
| 87 std::unique_ptr<TestInterfaces> interfaces_; | 87 std::unique_ptr<TestInterfaces> interfaces_; |
| 88 | 88 |
| 89 DISALLOW_COPY_AND_ASSIGN(WebTestInterfaces); | 89 DISALLOW_COPY_AND_ASSIGN(WebTestInterfaces); |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 } // namespace test_runner | 92 } // namespace test_runner |
| 93 | 93 |
| 94 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_ | 94 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_ |
| OLD | NEW |