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