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

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

Issue 2501863003: Support for AudioContextOptions latencyHint. (Closed)
Patch Set: Updates based on reviewer comments. Created 4 years 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 OverrideCreateWebRTCPeerConnectionHandler( 170 OverrideCreateWebRTCPeerConnectionHandler(
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);
182 181
183 // Allows the embedder to override the blink::WebClipboard used. If it 182 // Allows the embedder to override the blink::WebClipboard used. If it
184 // returns NULL the content layer will handle clipboard interactions. 183 // returns NULL the content layer will handle clipboard interactions.
185 virtual blink::WebClipboard* OverrideWebClipboard(); 184 virtual blink::WebClipboard* OverrideWebClipboard();
186 185
187 // Allows the embedder to override the WebThemeEngine used. If it returns NULL 186 // Allows the embedder to override the WebThemeEngine used. If it returns NULL
188 // the content layer will provide an engine. 187 // the content layer will provide an engine.
189 virtual blink::WebThemeEngine* OverrideThemeEngine(); 188 virtual blink::WebThemeEngine* OverrideThemeEngine();
190 189
191 // Allows the embedder to override the WebSpeechSynthesizer used. 190 // 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) {} 369 service_manager::InterfaceRegistry* interface_registry) {}
371 370
372 // Overwrites the given URL to use an HTML5 embed if possible. 371 // Overwrites the given URL to use an HTML5 embed if possible.
373 // An empty URL is returned if the URL is not overriden. 372 // An empty URL is returned if the URL is not overriden.
374 virtual GURL OverrideFlashEmbedWithHTML(const GURL& url); 373 virtual GURL OverrideFlashEmbedWithHTML(const GURL& url);
375 }; 374 };
376 375
377 } // namespace content 376 } // namespace content
378 377
379 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 378 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698