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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
(...skipping 21 matching lines...) Expand all Loading... | |
32 class WebMediaPlayerClient; | 32 class WebMediaPlayerClient; |
33 class WebMediaStreamCenter; | 33 class WebMediaStreamCenter; |
34 class WebMediaStreamCenterClient; | 34 class WebMediaStreamCenterClient; |
35 class WebMimeRegistry; | 35 class WebMimeRegistry; |
36 class WebPlugin; | 36 class WebPlugin; |
37 class WebPluginContainer; | 37 class WebPluginContainer; |
38 class WebRTCPeerConnectionHandler; | 38 class WebRTCPeerConnectionHandler; |
39 class WebRTCPeerConnectionHandlerClient; | 39 class WebRTCPeerConnectionHandlerClient; |
40 class WebThemeEngine; | 40 class WebThemeEngine; |
41 class WebURLRequest; | 41 class WebURLRequest; |
42 class WebUserMediaClient; | |
42 struct WebPluginParams; | 43 struct WebPluginParams; |
43 struct WebURLError; | 44 struct WebURLError; |
44 } | 45 } |
45 | 46 |
46 namespace webkit { | 47 namespace webkit { |
47 namespace ppapi { | 48 namespace ppapi { |
48 class PpapiInterfaceFactoryManager; | 49 class PpapiInterfaceFactoryManager; |
49 } | 50 } |
50 struct WebPluginInfo; | 51 struct WebPluginInfo; |
51 } | 52 } |
52 | 53 |
53 namespace webkit_media { | 54 namespace webkit_media { |
55 class MediaStreamClient; | |
54 class WebMediaPlayerDelegate; | 56 class WebMediaPlayerDelegate; |
55 class WebMediaPlayerImpl; | 57 class WebMediaPlayerImpl; |
56 class WebMediaPlayerParams; | 58 class WebMediaPlayerParams; |
57 } | 59 } |
58 | 60 |
59 namespace content { | 61 namespace content { |
60 | 62 |
61 class RenderView; | 63 class RenderView; |
62 | 64 |
63 // Embedder API for participating in renderer logic. | 65 // Embedder API for participating in renderer logic. |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
127 WebKit::WebFrame* frame, | 129 WebKit::WebFrame* frame, |
128 WebKit::WebMediaPlayerClient* client, | 130 WebKit::WebMediaPlayerClient* client, |
129 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate, | 131 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate, |
130 const webkit_media::WebMediaPlayerParams& params); | 132 const webkit_media::WebMediaPlayerParams& params); |
131 | 133 |
132 // Allows the embedder to override creating a WebMediaStreamCenter. If it | 134 // Allows the embedder to override creating a WebMediaStreamCenter. If it |
133 // returns NULL the content layer will create the stream center. | 135 // returns NULL the content layer will create the stream center. |
134 virtual WebKit::WebMediaStreamCenter* OverrideCreateWebMediaStreamCenter( | 136 virtual WebKit::WebMediaStreamCenter* OverrideCreateWebMediaStreamCenter( |
135 WebKit::WebMediaStreamCenterClient* client); | 137 WebKit::WebMediaStreamCenterClient* client); |
136 | 138 |
139 // Allows the embedder to provide a userMediaClient. If it | |
140 // returns NULL the content layer will create the userMediaClient. | |
jam
2013/04/01 15:51:45
userMediaClient -> WebUserMediaClient
| |
141 virtual WebKit::WebUserMediaClient* OverrideUserMediaClient(); | |
142 | |
143 // Allows the embedder to provide a MediaStreamClient. If it | |
144 // returns NULL the content layer will create the MediaStreamClient. | |
145 virtual webkit_media::MediaStreamClient* OverrideMediaStreamClient(); | |
146 | |
137 // Allows the embedder to override creating a WebRTCPeerConnectionHandler. If | 147 // Allows the embedder to override creating a WebRTCPeerConnectionHandler. If |
138 // it returns NULL the content layer will create the connection handler. | 148 // it returns NULL the content layer will create the connection handler. |
139 virtual WebKit::WebRTCPeerConnectionHandler* | 149 virtual WebKit::WebRTCPeerConnectionHandler* |
140 OverrideCreateWebRTCPeerConnectionHandler( | 150 OverrideCreateWebRTCPeerConnectionHandler( |
141 WebKit::WebRTCPeerConnectionHandlerClient* client); | 151 WebKit::WebRTCPeerConnectionHandlerClient* client); |
142 | 152 |
143 // Allows the embedder to override the WebKit::WebClipboard used. If it | 153 // Allows the embedder to override the WebKit::WebClipboard used. If it |
144 // returns NULL the content layer will handle clipboard interactions. | 154 // returns NULL the content layer will handle clipboard interactions. |
145 virtual WebKit::WebClipboard* OverrideWebClipboard(); | 155 virtual WebKit::WebClipboard* OverrideWebClipboard(); |
146 | 156 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
233 // RenderThreadImpl. If NULL, then a new thread will be created. | 243 // RenderThreadImpl. If NULL, then a new thread will be created. |
234 virtual MessageLoop* OverrideCompositorMessageLoop() const; | 244 virtual MessageLoop* OverrideCompositorMessageLoop() const; |
235 | 245 |
236 // Allow the embedder to disable input event filtering by the compositor. | 246 // Allow the embedder to disable input event filtering by the compositor. |
237 virtual bool ShouldCreateCompositorInputHandler() const; | 247 virtual bool ShouldCreateCompositorInputHandler() const; |
238 }; | 248 }; |
239 | 249 |
240 } // namespace content | 250 } // namespace content |
241 | 251 |
242 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 252 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |