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

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

Issue 2750543003: Support AudioContextOptions latencyHint as double. (Closed)
Patch Set: No max value clamping in AudioLatency. 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 (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 16 matching lines...) Expand all
27 class GURL; 27 class GURL;
28 class SkBitmap; 28 class SkBitmap;
29 29
30 namespace base { 30 namespace base {
31 class FilePath; 31 class FilePath;
32 class SchedulerWorkerPoolParams; 32 class SchedulerWorkerPoolParams;
33 } 33 }
34 34
35 namespace blink { 35 namespace blink {
36 class WebAudioDevice; 36 class WebAudioDevice;
37 class WebAudioLatencyHint;
37 class WebClipboard; 38 class WebClipboard;
38 class WebFrame; 39 class WebFrame;
39 class WebLocalFrame; 40 class WebLocalFrame;
40 class WebMIDIAccessor; 41 class WebMIDIAccessor;
41 class WebMIDIAccessorClient; 42 class WebMIDIAccessorClient;
42 class WebMediaStreamCenter; 43 class WebMediaStreamCenter;
43 class WebMediaStreamCenterClient; 44 class WebMediaStreamCenterClient;
44 class WebPlugin; 45 class WebPlugin;
45 class WebPrescientNetworking; 46 class WebPrescientNetworking;
46 class WebRTCPeerConnectionHandler; 47 class WebRTCPeerConnectionHandler;
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 OverrideCreateWebRTCPeerConnectionHandler( 165 OverrideCreateWebRTCPeerConnectionHandler(
165 blink::WebRTCPeerConnectionHandlerClient* client); 166 blink::WebRTCPeerConnectionHandlerClient* client);
166 167
167 // Allows the embedder to override creating a WebMIDIAccessor. If it 168 // Allows the embedder to override creating a WebMIDIAccessor. If it
168 // returns NULL the content layer will create the MIDI accessor. 169 // returns NULL the content layer will create the MIDI accessor.
169 virtual blink::WebMIDIAccessor* OverrideCreateMIDIAccessor( 170 virtual blink::WebMIDIAccessor* OverrideCreateMIDIAccessor(
170 blink::WebMIDIAccessorClient* client); 171 blink::WebMIDIAccessorClient* client);
171 172
172 // Allows the embedder to override creating a WebAudioDevice. If it 173 // Allows the embedder to override creating a WebAudioDevice. If it
173 // returns NULL the content layer will create the audio device. 174 // returns NULL the content layer will create the audio device.
174 virtual blink::WebAudioDevice* OverrideCreateAudioDevice(); 175 virtual blink::WebAudioDevice* OverrideCreateAudioDevice(
176 const blink::WebAudioLatencyHint& latency_hint);
175 177
176 // Allows the embedder to override the blink::WebClipboard used. If it 178 // Allows the embedder to override the blink::WebClipboard used. If it
177 // returns NULL the content layer will handle clipboard interactions. 179 // returns NULL the content layer will handle clipboard interactions.
178 virtual blink::WebClipboard* OverrideWebClipboard(); 180 virtual blink::WebClipboard* OverrideWebClipboard();
179 181
180 // Allows the embedder to override the WebThemeEngine used. If it returns NULL 182 // Allows the embedder to override the WebThemeEngine used. If it returns NULL
181 // the content layer will provide an engine. 183 // the content layer will provide an engine.
182 virtual blink::WebThemeEngine* OverrideThemeEngine(); 184 virtual blink::WebThemeEngine* OverrideThemeEngine();
183 185
184 // Allows the embedder to override the WebSpeechSynthesizer used. 186 // Allows the embedder to override the WebSpeechSynthesizer used.
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 base::TaskScheduler::WorkerPoolIndexForTraitsCallback* 368 base::TaskScheduler::WorkerPoolIndexForTraitsCallback*
367 index_to_traits_callback) {} 369 index_to_traits_callback) {}
368 370
369 // Returns true if the media pipeline can be suspended, or false otherwise. 371 // Returns true if the media pipeline can be suspended, or false otherwise.
370 virtual bool AllowMediaSuspend(); 372 virtual bool AllowMediaSuspend();
371 }; 373 };
372 374
373 } // namespace content 375 } // namespace content
374 376
375 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 377 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698