Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Side by Side Diff: components/test_runner/web_test_interfaces.h

Issue 1896623002: Setting TestRunner's main window from BlinkTestRunner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@replicate-across-all-renderers
Patch Set: Rebasing... Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/test_runner/test_runner.cc ('k') | components/test_runner/web_test_interfaces.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « components/test_runner/test_runner.cc ('k') | components/test_runner/web_test_interfaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698