| 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 | 27 |
| 28 class GURL; | 28 class GURL; |
| 29 class SkBitmap; | 29 class SkBitmap; |
| 30 | 30 |
| 31 namespace base { | 31 namespace base { |
| 32 class FilePath; | 32 class FilePath; |
| 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 virtual std::unique_ptr<base::TaskScheduler::InitParams> | 377 virtual std::unique_ptr<base::TaskScheduler::InitParams> |
| 376 GetTaskSchedulerInitParams(); | 378 GetTaskSchedulerInitParams(); |
| 377 | 379 |
| 378 // Returns true if the media pipeline can be suspended, or false otherwise. | 380 // Returns true if the media pipeline can be suspended, or false otherwise. |
| 379 virtual bool AllowMediaSuspend(); | 381 virtual bool AllowMediaSuspend(); |
| 380 }; | 382 }; |
| 381 | 383 |
| 382 } // namespace content | 384 } // namespace content |
| 383 | 385 |
| 384 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 386 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |