| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 #endif | 54 #endif |
| 55 | 55 |
| 56 class AudioMessageFilter; | 56 class AudioMessageFilter; |
| 57 class DeviceOrientationDispatcher; | 57 class DeviceOrientationDispatcher; |
| 58 class DevToolsAgent; | 58 class DevToolsAgent; |
| 59 class ExternalPopupMenu; | 59 class ExternalPopupMenu; |
| 60 class GeolocationDispatcher; | 60 class GeolocationDispatcher; |
| 61 class GURL; | 61 class GURL; |
| 62 class IntentsDispatcher; | 62 class IntentsDispatcher; |
| 63 class LoadProgressTracker; | 63 class LoadProgressTracker; |
| 64 class MediaStreamDispatcher; |
| 64 class MediaStreamImpl; | 65 class MediaStreamImpl; |
| 65 class NotificationProvider; | 66 class NotificationProvider; |
| 66 class PepperDeviceTest; | 67 class PepperDeviceTest; |
| 67 class PrintWebViewHelper; | 68 class PrintWebViewHelper; |
| 68 class RenderWidgetFullscreenPepper; | 69 class RenderWidgetFullscreenPepper; |
| 69 class RendererAccessibility; | 70 class RendererAccessibility; |
| 70 class SkBitmap; | 71 class SkBitmap; |
| 71 class SpeechInputDispatcher; | 72 class SpeechInputDispatcher; |
| 72 class WebPluginDelegateProxy; | 73 class WebPluginDelegateProxy; |
| 73 class WebUIBindings; | 74 class WebUIBindings; |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 CONTENT_EXPORT WebKit::WebView* webview() const; | 195 CONTENT_EXPORT WebKit::WebView* webview() const; |
| 195 | 196 |
| 196 // Called by a GraphicsContext associated with this view when swapbuffers | 197 // Called by a GraphicsContext associated with this view when swapbuffers |
| 197 // is posted, completes or is aborted. | 198 // is posted, completes or is aborted. |
| 198 void OnViewContextSwapBuffersPosted(); | 199 void OnViewContextSwapBuffersPosted(); |
| 199 void OnViewContextSwapBuffersComplete(); | 200 void OnViewContextSwapBuffersComplete(); |
| 200 void OnViewContextSwapBuffersAborted(); | 201 void OnViewContextSwapBuffersAborted(); |
| 201 | 202 |
| 202 int history_list_offset() const { return history_list_offset_; } | 203 int history_list_offset() const { return history_list_offset_; } |
| 203 | 204 |
| 205 MediaStreamDispatcher* media_stream_dispatcher() { |
| 206 return media_stream_dispatcher_; |
| 207 } |
| 208 |
| 204 const WebPreferences& webkit_preferences() const { | 209 const WebPreferences& webkit_preferences() const { |
| 205 return webkit_preferences_; | 210 return webkit_preferences_; |
| 206 } | 211 } |
| 207 | 212 |
| 208 void set_send_content_state_immediately(bool value) { | 213 void set_send_content_state_immediately(bool value) { |
| 209 send_content_state_immediately_ = value; | 214 send_content_state_immediately_ = value; |
| 210 } | 215 } |
| 211 | 216 |
| 212 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. | 217 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. |
| 213 content::P2PSocketDispatcher* p2p_socket_dispatcher() { | 218 content::P2PSocketDispatcher* p2p_socket_dispatcher() { |
| (...skipping 168 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 731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1133 | 1139 |
| 1134 // The intents dispatcher attached to this view. Not lazily initialized. | 1140 // The intents dispatcher attached to this view. Not lazily initialized. |
| 1135 IntentsDispatcher* intents_dispatcher_; | 1141 IntentsDispatcher* intents_dispatcher_; |
| 1136 | 1142 |
| 1137 // The speech dispatcher attached to this view, lazily initialized. | 1143 // The speech dispatcher attached to this view, lazily initialized. |
| 1138 SpeechInputDispatcher* speech_input_dispatcher_; | 1144 SpeechInputDispatcher* speech_input_dispatcher_; |
| 1139 | 1145 |
| 1140 // Device orientation dispatcher attached to this view; lazily initialized. | 1146 // Device orientation dispatcher attached to this view; lazily initialized. |
| 1141 DeviceOrientationDispatcher* device_orientation_dispatcher_; | 1147 DeviceOrientationDispatcher* device_orientation_dispatcher_; |
| 1142 | 1148 |
| 1149 // MediaStream dispatcher attached to this view; lazily initialized. |
| 1150 MediaStreamDispatcher* media_stream_dispatcher_; |
| 1151 |
| 1143 // MediaStreamImpl attached to this view; lazily initialized. | 1152 // MediaStreamImpl attached to this view; lazily initialized. |
| 1144 scoped_refptr<MediaStreamImpl> media_stream_impl_; | 1153 scoped_refptr<MediaStreamImpl> media_stream_impl_; |
| 1145 | 1154 |
| 1146 // Dispatches all P2P socket used by the renderer. | 1155 // Dispatches all P2P socket used by the renderer. |
| 1147 content::P2PSocketDispatcher* p2p_socket_dispatcher_; | 1156 content::P2PSocketDispatcher* p2p_socket_dispatcher_; |
| 1148 | 1157 |
| 1149 DevToolsAgent* devtools_agent_; | 1158 DevToolsAgent* devtools_agent_; |
| 1150 | 1159 |
| 1151 RendererAccessibility* renderer_accessibility_; | 1160 RendererAccessibility* renderer_accessibility_; |
| 1152 | 1161 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1214 // bunch of stuff, you should probably create a helper class and put your | 1223 // bunch of stuff, you should probably create a helper class and put your |
| 1215 // data and methods on that to avoid bloating RenderView more. You can | 1224 // data and methods on that to avoid bloating RenderView more. You can |
| 1216 // use the Observer interface to filter IPC messages and receive frame change | 1225 // use the Observer interface to filter IPC messages and receive frame change |
| 1217 // notifications. | 1226 // notifications. |
| 1218 // --------------------------------------------------------------------------- | 1227 // --------------------------------------------------------------------------- |
| 1219 | 1228 |
| 1220 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1229 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1221 }; | 1230 }; |
| 1222 | 1231 |
| 1223 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1232 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |