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

Side by Side Diff: content/public/renderer/content_renderer_client.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 (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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 blink::WebRTCPeerConnectionHandlerClient* client); 171 blink::WebRTCPeerConnectionHandlerClient* client);
172 172
173 // Allows the embedder to override creating a WebMIDIAccessor. If it 173 // Allows the embedder to override creating a WebMIDIAccessor. If it
174 // returns NULL the content layer will create the MIDI accessor. 174 // returns NULL the content layer will create the MIDI accessor.
175 virtual blink::WebMIDIAccessor* OverrideCreateMIDIAccessor( 175 virtual blink::WebMIDIAccessor* OverrideCreateMIDIAccessor(
176 blink::WebMIDIAccessorClient* client); 176 blink::WebMIDIAccessorClient* client);
177 177
178 // Allows the embedder to override creating a WebAudioDevice. If it 178 // Allows the embedder to override creating a WebAudioDevice. If it
179 // returns NULL the content layer will create the audio device. 179 // returns NULL the content layer will create the audio device.
180 virtual blink::WebAudioDevice* OverrideCreateAudioDevice( 180 virtual blink::WebAudioDevice* OverrideCreateAudioDevice(
181 double sample_rate); 181 double sample_rate,
182 int frames_per_buffer);
182 183
183 // Allows the embedder to override the blink::WebClipboard used. If it 184 // Allows the embedder to override the blink::WebClipboard used. If it
184 // returns NULL the content layer will handle clipboard interactions. 185 // returns NULL the content layer will handle clipboard interactions.
185 virtual blink::WebClipboard* OverrideWebClipboard(); 186 virtual blink::WebClipboard* OverrideWebClipboard();
186 187
187 // Allows the embedder to override the WebThemeEngine used. If it returns NULL 188 // Allows the embedder to override the WebThemeEngine used. If it returns NULL
188 // the content layer will provide an engine. 189 // the content layer will provide an engine.
189 virtual blink::WebThemeEngine* OverrideThemeEngine(); 190 virtual blink::WebThemeEngine* OverrideThemeEngine();
190 191
191 // Allows the embedder to override the WebSpeechSynthesizer used. 192 // Allows the embedder to override the WebSpeechSynthesizer used.
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 service_manager::InterfaceRegistry* interface_registry) {} 371 service_manager::InterfaceRegistry* interface_registry) {}
371 372
372 // Overwrites the given URL to use an HTML5 embed if possible. 373 // Overwrites the given URL to use an HTML5 embed if possible.
373 // An empty URL is returned if the URL is not overriden. 374 // An empty URL is returned if the URL is not overriden.
374 virtual GURL OverrideFlashEmbedWithHTML(const GURL& url); 375 virtual GURL OverrideFlashEmbedWithHTML(const GURL& url);
375 }; 376 };
376 377
377 } // namespace content 378 } // namespace content
378 379
379 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 380 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698