| 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 16 matching lines...) Expand all Loading... |
| 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 Loading... |
| 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 base::TaskScheduler::WorkerPoolIndexForTraitsCallback* | 364 base::TaskScheduler::WorkerPoolIndexForTraitsCallback* |
| 363 index_to_traits_callback) {} | 365 index_to_traits_callback) {} |
| 364 | 366 |
| 365 // Returns true if the media pipeline can be suspended, or false otherwise. | 367 // Returns true if the media pipeline can be suspended, or false otherwise. |
| 366 virtual bool AllowMediaSuspend(); | 368 virtual bool AllowMediaSuspend(); |
| 367 }; | 369 }; |
| 368 | 370 |
| 369 } // namespace content | 371 } // namespace content |
| 370 | 372 |
| 371 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 373 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |