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

Side by Side Diff: content/public/renderer/content_renderer_client.h

Issue 2501863003: Support for AudioContextOptions latencyHint. (Closed)
Patch Set: Fixes to WebAudioDeviceImpl unit test. 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 OverrideCreateWebRTCPeerConnectionHandler( 164 OverrideCreateWebRTCPeerConnectionHandler(
165 blink::WebRTCPeerConnectionHandlerClient* client); 165 blink::WebRTCPeerConnectionHandlerClient* client);
166 166
167 // Allows the embedder to override creating a WebMIDIAccessor. If it 167 // Allows the embedder to override creating a WebMIDIAccessor. If it
168 // returns NULL the content layer will create the MIDI accessor. 168 // returns NULL the content layer will create the MIDI accessor.
169 virtual blink::WebMIDIAccessor* OverrideCreateMIDIAccessor( 169 virtual blink::WebMIDIAccessor* OverrideCreateMIDIAccessor(
170 blink::WebMIDIAccessorClient* client); 170 blink::WebMIDIAccessorClient* client);
171 171
172 // Allows the embedder to override creating a WebAudioDevice. If it 172 // Allows the embedder to override creating a WebAudioDevice. If it
173 // returns NULL the content layer will create the audio device. 173 // returns NULL the content layer will create the audio device.
174 virtual blink::WebAudioDevice* OverrideCreateAudioDevice( 174 virtual blink::WebAudioDevice* OverrideCreateAudioDevice();
175 double sample_rate);
176 175
177 // Allows the embedder to override the blink::WebClipboard used. If it 176 // Allows the embedder to override the blink::WebClipboard used. If it
178 // returns NULL the content layer will handle clipboard interactions. 177 // returns NULL the content layer will handle clipboard interactions.
179 virtual blink::WebClipboard* OverrideWebClipboard(); 178 virtual blink::WebClipboard* OverrideWebClipboard();
180 179
181 // Allows the embedder to override the WebThemeEngine used. If it returns NULL 180 // Allows the embedder to override the WebThemeEngine used. If it returns NULL
182 // the content layer will provide an engine. 181 // the content layer will provide an engine.
183 virtual blink::WebThemeEngine* OverrideThemeEngine(); 182 virtual blink::WebThemeEngine* OverrideThemeEngine();
184 183
185 // Allows the embedder to override the WebSpeechSynthesizer used. 184 // Allows the embedder to override the WebSpeechSynthesizer used.
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 base::TaskScheduler::WorkerPoolIndexForTraitsCallback* 362 base::TaskScheduler::WorkerPoolIndexForTraitsCallback*
364 index_to_traits_callback) {} 363 index_to_traits_callback) {}
365 364
366 // Returns true if the media pipeline can be suspended, or false otherwise. 365 // Returns true if the media pipeline can be suspended, or false otherwise.
367 virtual bool AllowMediaSuspend(); 366 virtual bool AllowMediaSuspend();
368 }; 367 };
369 368
370 } // namespace content 369 } // namespace content
371 370
372 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 371 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « components/test_runner/web_test_interfaces.cc ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698