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

Side by Side Diff: content/shell/test_runner/web_test_interfaces.h

Issue 2689483007: Tests of ctrl-click can't postMessage to opener - using custom text instead. (Closed)
Patch Set: Rebasing... Created 3 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
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 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
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
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_
OLDNEW
« no previous file with comments | « content/shell/test_runner/test_interfaces.cc ('k') | content/shell/test_runner/web_test_interfaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698