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

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

Issue 2501863003: Support for AudioContextOptions latencyHint. (Closed)
Patch Set: 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
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 blink::WebThemeEngine* ThemeEngine(); 54 blink::WebThemeEngine* ThemeEngine();
55 55
56 blink::WebMediaStreamCenter* CreateMediaStreamCenter( 56 blink::WebMediaStreamCenter* CreateMediaStreamCenter(
57 blink::WebMediaStreamCenterClient* client); 57 blink::WebMediaStreamCenterClient* client);
58 blink::WebRTCPeerConnectionHandler* CreateWebRTCPeerConnectionHandler( 58 blink::WebRTCPeerConnectionHandler* CreateWebRTCPeerConnectionHandler(
59 blink::WebRTCPeerConnectionHandlerClient* client); 59 blink::WebRTCPeerConnectionHandlerClient* client);
60 60
61 blink::WebMIDIAccessor* CreateMIDIAccessor( 61 blink::WebMIDIAccessor* CreateMIDIAccessor(
62 blink::WebMIDIAccessorClient* client); 62 blink::WebMIDIAccessorClient* client);
63 63
64 blink::WebAudioDevice* CreateAudioDevice(double sample_rate); 64 blink::WebAudioDevice* CreateAudioDevice(double sample_rate,
65 int frames_per_buffer);
65 66
66 TestInterfaces* GetTestInterfaces(); 67 TestInterfaces* GetTestInterfaces();
67 68
68 // Creates a WebFrameClient implementation providing test behavior (i.e. 69 // Creates a WebFrameClient implementation providing test behavior (i.e.
69 // forwarding javascript console output to the test harness). The caller 70 // forwarding javascript console output to the test harness). The caller
70 // should guarantee that the returned object won't be used beyond the lifetime 71 // should guarantee that the returned object won't be used beyond the lifetime
71 // of WebTestInterfaces and/or the lifetime of |web_view_test_proxy_base|. 72 // of WebTestInterfaces and/or the lifetime of |web_view_test_proxy_base|.
72 std::unique_ptr<WebFrameTestClient> CreateWebFrameTestClient( 73 std::unique_ptr<WebFrameTestClient> CreateWebFrameTestClient(
73 WebViewTestProxyBase* web_view_test_proxy_base, 74 WebViewTestProxyBase* web_view_test_proxy_base,
74 WebFrameTestProxyBase* web_frame_test_proxy_base); 75 WebFrameTestProxyBase* web_frame_test_proxy_base);
(...skipping 17 matching lines...) Expand all
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 // COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_ 102 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_INTERFACES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698