OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_RENDERER_RENDER_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 56 |
57 class AudioMessageFilter; | 57 class AudioMessageFilter; |
58 class DeviceOrientationDispatcher; | 58 class DeviceOrientationDispatcher; |
59 class DevToolsAgent; | 59 class DevToolsAgent; |
60 class ExternalPopupMenu; | 60 class ExternalPopupMenu; |
61 class GeolocationDispatcher; | 61 class GeolocationDispatcher; |
62 class GURL; | 62 class GURL; |
63 class IntentsDispatcher; | 63 class IntentsDispatcher; |
64 class JavaBridgeDispatcher; | 64 class JavaBridgeDispatcher; |
65 class LoadProgressTracker; | 65 class LoadProgressTracker; |
| 66 class MediaStreamDispatcher |
66 class MediaStreamImpl; | 67 class MediaStreamImpl; |
67 class NotificationProvider; | 68 class NotificationProvider; |
68 class PepperDeviceTest; | 69 class PepperDeviceTest; |
69 class PrintWebViewHelper; | 70 class PrintWebViewHelper; |
70 class RenderWidgetFullscreenPepper; | 71 class RenderWidgetFullscreenPepper; |
71 class RendererAccessibility; | 72 class RendererAccessibility; |
72 class SkBitmap; | 73 class SkBitmap; |
73 class SpeechInputDispatcher; | 74 class SpeechInputDispatcher; |
74 class WebPluginDelegateProxy; | 75 class WebPluginDelegateProxy; |
75 class WebUIBindings; | 76 class WebUIBindings; |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 CONTENT_EXPORT WebKit::WebView* webview() const; | 198 CONTENT_EXPORT WebKit::WebView* webview() const; |
198 | 199 |
199 // Called by a GraphicsContext associated with this view when swapbuffers | 200 // Called by a GraphicsContext associated with this view when swapbuffers |
200 // is posted, completes or is aborted. | 201 // is posted, completes or is aborted. |
201 void OnViewContextSwapBuffersPosted(); | 202 void OnViewContextSwapBuffersPosted(); |
202 void OnViewContextSwapBuffersComplete(); | 203 void OnViewContextSwapBuffersComplete(); |
203 void OnViewContextSwapBuffersAborted(); | 204 void OnViewContextSwapBuffersAborted(); |
204 | 205 |
205 int history_list_offset() const { return history_list_offset_; } | 206 int history_list_offset() const { return history_list_offset_; } |
206 | 207 |
| 208 MediaStreamDispatcher* media_stream_dispatcher() { |
| 209 return media_stream_dispatcher_; |
| 210 } |
| 211 |
207 const WebPreferences& webkit_preferences() const { | 212 const WebPreferences& webkit_preferences() const { |
208 return webkit_preferences_; | 213 return webkit_preferences_; |
209 } | 214 } |
210 | 215 |
211 void set_send_content_state_immediately(bool value) { | 216 void set_send_content_state_immediately(bool value) { |
212 send_content_state_immediately_ = value; | 217 send_content_state_immediately_ = value; |
213 } | 218 } |
214 | 219 |
215 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. | 220 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. |
216 content::P2PSocketDispatcher* p2p_socket_dispatcher() { | 221 content::P2PSocketDispatcher* p2p_socket_dispatcher() { |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 virtual int historyForwardListCount(); | 387 virtual int historyForwardListCount(); |
383 virtual void postAccessibilityNotification( | 388 virtual void postAccessibilityNotification( |
384 const WebKit::WebAccessibilityObject& obj, | 389 const WebKit::WebAccessibilityObject& obj, |
385 WebKit::WebAccessibilityNotification notification); | 390 WebKit::WebAccessibilityNotification notification); |
386 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, | 391 virtual void didUpdateInspectorSetting(const WebKit::WebString& key, |
387 const WebKit::WebString& value); | 392 const WebKit::WebString& value); |
388 virtual WebKit::WebGeolocationClient* geolocationClient(); | 393 virtual WebKit::WebGeolocationClient* geolocationClient(); |
389 virtual WebKit::WebSpeechInputController* speechInputController( | 394 virtual WebKit::WebSpeechInputController* speechInputController( |
390 WebKit::WebSpeechInputListener* listener); | 395 WebKit::WebSpeechInputListener* listener); |
391 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); | 396 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); |
| 397 virtual WebKit::WebMediaStreamClient* mediaStreamClient(); |
392 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); | 398 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); |
393 virtual void zoomLevelChanged(); | 399 virtual void zoomLevelChanged(); |
394 virtual void registerProtocolHandler(const WebKit::WebString& scheme, | 400 virtual void registerProtocolHandler(const WebKit::WebString& scheme, |
395 const WebKit::WebString& base_url, | 401 const WebKit::WebString& base_url, |
396 const WebKit::WebString& url, | 402 const WebKit::WebString& url, |
397 const WebKit::WebString& title); | 403 const WebKit::WebString& title); |
398 virtual void registerIntentHandler(const WebKit::WebString& action, | 404 virtual void registerIntentHandler(const WebKit::WebString& action, |
399 const WebKit::WebString& type, | 405 const WebKit::WebString& type, |
400 const WebKit::WebString& href, | 406 const WebKit::WebString& href, |
401 const WebKit::WebString& title); | 407 const WebKit::WebString& title); |
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1138 | 1144 |
1139 // The intents dispatcher attached to this view. Not lazily initialized. | 1145 // The intents dispatcher attached to this view. Not lazily initialized. |
1140 IntentsDispatcher* intents_dispatcher_; | 1146 IntentsDispatcher* intents_dispatcher_; |
1141 | 1147 |
1142 // The speech dispatcher attached to this view, lazily initialized. | 1148 // The speech dispatcher attached to this view, lazily initialized. |
1143 SpeechInputDispatcher* speech_input_dispatcher_; | 1149 SpeechInputDispatcher* speech_input_dispatcher_; |
1144 | 1150 |
1145 // Device orientation dispatcher attached to this view; lazily initialized. | 1151 // Device orientation dispatcher attached to this view; lazily initialized. |
1146 DeviceOrientationDispatcher* device_orientation_dispatcher_; | 1152 DeviceOrientationDispatcher* device_orientation_dispatcher_; |
1147 | 1153 |
| 1154 // MediaStream dispatcher attached to this view; lazily initialized. |
| 1155 MediaStreamDispatcher* media_stream_dispatcher_; |
| 1156 |
1148 // MediaStreamImpl attached to this view; lazily initialized. | 1157 // MediaStreamImpl attached to this view; lazily initialized. |
1149 scoped_refptr<MediaStreamImpl> media_stream_impl_; | 1158 scoped_refptr<MediaStreamImpl> media_stream_impl_; |
1150 | 1159 |
1151 // Dispatches all P2P socket used by the renderer. | 1160 // Dispatches all P2P socket used by the renderer. |
1152 content::P2PSocketDispatcher* p2p_socket_dispatcher_; | 1161 content::P2PSocketDispatcher* p2p_socket_dispatcher_; |
1153 | 1162 |
1154 DevToolsAgent* devtools_agent_; | 1163 DevToolsAgent* devtools_agent_; |
1155 | 1164 |
1156 RendererAccessibility* renderer_accessibility_; | 1165 RendererAccessibility* renderer_accessibility_; |
1157 | 1166 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1222 // bunch of stuff, you should probably create a helper class and put your | 1231 // bunch of stuff, you should probably create a helper class and put your |
1223 // data and methods on that to avoid bloating RenderView more. You can | 1232 // data and methods on that to avoid bloating RenderView more. You can |
1224 // use the Observer interface to filter IPC messages and receive frame change | 1233 // use the Observer interface to filter IPC messages and receive frame change |
1225 // notifications. | 1234 // notifications. |
1226 // --------------------------------------------------------------------------- | 1235 // --------------------------------------------------------------------------- |
1227 | 1236 |
1228 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1237 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1229 }; | 1238 }; |
1230 | 1239 |
1231 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1240 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |