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

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

Issue 2501863003: Support for AudioContextOptions latencyHint. (Closed)
Patch Set: Fix WebAudioDeviceImpl unit test on Android. Created 3 years, 10 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 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 blink::WebThemeEngine* ThemeEngine(); 53 blink::WebThemeEngine* ThemeEngine();
54 54
55 blink::WebMediaStreamCenter* CreateMediaStreamCenter( 55 blink::WebMediaStreamCenter* CreateMediaStreamCenter(
56 blink::WebMediaStreamCenterClient* client); 56 blink::WebMediaStreamCenterClient* client);
57 blink::WebRTCPeerConnectionHandler* CreateWebRTCPeerConnectionHandler( 57 blink::WebRTCPeerConnectionHandler* CreateWebRTCPeerConnectionHandler(
58 blink::WebRTCPeerConnectionHandlerClient* client); 58 blink::WebRTCPeerConnectionHandlerClient* client);
59 59
60 blink::WebMIDIAccessor* CreateMIDIAccessor( 60 blink::WebMIDIAccessor* CreateMIDIAccessor(
61 blink::WebMIDIAccessorClient* client); 61 blink::WebMIDIAccessorClient* client);
62 62
63 blink::WebAudioDevice* CreateAudioDevice(double sample_rate); 63 blink::WebAudioDevice* CreateAudioDevice(double sample_rate,
64 int frames_per_buffer);
64 65
65 TestInterfaces* GetTestInterfaces(); 66 TestInterfaces* GetTestInterfaces();
66 67
67 // Creates a WebFrameClient implementation providing test behavior (i.e. 68 // Creates a WebFrameClient implementation providing test behavior (i.e.
68 // forwarding javascript console output to the test harness). The caller 69 // forwarding javascript console output to the test harness). The caller
69 // 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
70 // 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|.
71 std::unique_ptr<WebFrameTestClient> CreateWebFrameTestClient( 72 std::unique_ptr<WebFrameTestClient> CreateWebFrameTestClient(
72 WebViewTestProxyBase* web_view_test_proxy_base, 73 WebViewTestProxyBase* web_view_test_proxy_base,
73 WebFrameTestProxyBase* web_frame_test_proxy_base); 74 WebFrameTestProxyBase* web_frame_test_proxy_base);
(...skipping 17 matching lines...) Expand all
91 92
92 private: 93 private:
93 std::unique_ptr<TestInterfaces> interfaces_; 94 std::unique_ptr<TestInterfaces> interfaces_;
94 95
95 DISALLOW_COPY_AND_ASSIGN(WebTestInterfaces); 96 DISALLOW_COPY_AND_ASSIGN(WebTestInterfaces);
96 }; 97 };
97 98
98 } // namespace test_runner 99 } // namespace test_runner
99 100
100 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_ 101 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698