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

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

Issue 2393513004: Convert app banners to use Mojo. (Closed)
Patch Set: Add TODO Created 4 years, 1 month 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 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
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "components/test_runner/test_runner_export.h" 12 #include "components/test_runner/test_runner_export.h"
13 13
14 namespace blink { 14 namespace blink {
15 class WebAppBannerClient;
16 class WebAudioDevice; 15 class WebAudioDevice;
17 class WebFrame; 16 class WebFrame;
18 class WebFrameClient; 17 class WebFrameClient;
19 class WebMediaStreamCenter; 18 class WebMediaStreamCenter;
20 class WebMediaStreamCenterClient; 19 class WebMediaStreamCenterClient;
21 class WebMIDIAccessor; 20 class WebMIDIAccessor;
22 class WebMIDIAccessorClient; 21 class WebMIDIAccessorClient;
23 class WebRTCPeerConnectionHandler; 22 class WebRTCPeerConnectionHandler;
24 class WebRTCPeerConnectionHandlerClient; 23 class WebRTCPeerConnectionHandlerClient;
25 class WebThemeEngine; 24 class WebThemeEngine;
26 class WebURL; 25 class WebURL;
27 class WebView; 26 class WebView;
28 } 27 }
29 28
30 namespace test_runner { 29 namespace test_runner {
31 30
32 class AppBannerClient;
33 class TestInterfaces; 31 class TestInterfaces;
34 class WebFrameTestClient; 32 class WebFrameTestClient;
35 class WebFrameTestProxyBase; 33 class WebFrameTestProxyBase;
36 class WebTestDelegate; 34 class WebTestDelegate;
37 class WebViewTestProxyBase; 35 class WebViewTestProxyBase;
38 class WebWidgetTestProxyBase; 36 class WebWidgetTestProxyBase;
39 class WebTestRunner; 37 class WebTestRunner;
40 class WebViewTestClient; 38 class WebViewTestClient;
41 class WebWidgetTestClient; 39 class WebWidgetTestClient;
42 40
(...skipping 15 matching lines...) Expand all
58 blink::WebMediaStreamCenter* CreateMediaStreamCenter( 56 blink::WebMediaStreamCenter* CreateMediaStreamCenter(
59 blink::WebMediaStreamCenterClient* client); 57 blink::WebMediaStreamCenterClient* client);
60 blink::WebRTCPeerConnectionHandler* CreateWebRTCPeerConnectionHandler( 58 blink::WebRTCPeerConnectionHandler* CreateWebRTCPeerConnectionHandler(
61 blink::WebRTCPeerConnectionHandlerClient* client); 59 blink::WebRTCPeerConnectionHandlerClient* client);
62 60
63 blink::WebMIDIAccessor* CreateMIDIAccessor( 61 blink::WebMIDIAccessor* CreateMIDIAccessor(
64 blink::WebMIDIAccessorClient* client); 62 blink::WebMIDIAccessorClient* client);
65 63
66 blink::WebAudioDevice* CreateAudioDevice(double sample_rate); 64 blink::WebAudioDevice* CreateAudioDevice(double sample_rate);
67 65
68 std::unique_ptr<blink::WebAppBannerClient> CreateAppBannerClient();
69
70 TestInterfaces* GetTestInterfaces(); 66 TestInterfaces* GetTestInterfaces();
71 67
72 // Creates a WebFrameClient implementation providing test behavior (i.e. 68 // Creates a WebFrameClient implementation providing test behavior (i.e.
73 // forwarding javascript console output to the test harness). The caller 69 // forwarding javascript console output to the test harness). The caller
74 // should guarantee that the returned object won't be used beyond the lifetime 70 // should guarantee that the returned object won't be used beyond the lifetime
75 // of WebTestInterfaces and/or the lifetime of |web_view_test_proxy_base|. 71 // of WebTestInterfaces and/or the lifetime of |web_view_test_proxy_base|.
76 std::unique_ptr<WebFrameTestClient> CreateWebFrameTestClient( 72 std::unique_ptr<WebFrameTestClient> CreateWebFrameTestClient(
77 WebViewTestProxyBase* web_view_test_proxy_base, 73 WebViewTestProxyBase* web_view_test_proxy_base,
78 WebFrameTestProxyBase* web_frame_test_proxy_base); 74 WebFrameTestProxyBase* web_frame_test_proxy_base);
79 75
(...skipping 16 matching lines...) Expand all
96 92
97 private: 93 private:
98 std::unique_ptr<TestInterfaces> interfaces_; 94 std::unique_ptr<TestInterfaces> interfaces_;
99 95
100 DISALLOW_COPY_AND_ASSIGN(WebTestInterfaces); 96 DISALLOW_COPY_AND_ASSIGN(WebTestInterfaces);
101 }; 97 };
102 98
103 } // namespace test_runner 99 } // namespace test_runner
104 100
105 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_ 101 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_
OLDNEW
« no previous file with comments | « components/test_runner/web_test_delegate.h ('k') | components/test_runner/web_test_interfaces.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698