| 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_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 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 struct ViewMsg_StopFinding_Params; | 91 struct ViewMsg_StopFinding_Params; |
| 92 struct ViewMsg_SwapOut_Params; | 92 struct ViewMsg_SwapOut_Params; |
| 93 struct WebDropData; | 93 struct WebDropData; |
| 94 class WebIntentsHost; | 94 class WebIntentsHost; |
| 95 class WebPluginDelegateProxy; | 95 class WebPluginDelegateProxy; |
| 96 class WebUIBindings; | 96 class WebUIBindings; |
| 97 | 97 |
| 98 namespace content { | 98 namespace content { |
| 99 class DocumentState; | 99 class DocumentState; |
| 100 class NavigationState; | 100 class NavigationState; |
| 101 class P2PSocketDispatcher; | |
| 102 class RenderViewObserver; | 101 class RenderViewObserver; |
| 103 class RenderViewTest; | 102 class RenderViewTest; |
| 104 class RendererAccessibility; | 103 class RendererAccessibility; |
| 105 class RendererPpapiHost; | 104 class RendererPpapiHost; |
| 106 struct CustomContextMenuContext; | 105 struct CustomContextMenuContext; |
| 107 struct FileChooserParams; | 106 struct FileChooserParams; |
| 108 | 107 |
| 109 namespace old { | 108 namespace old { |
| 110 class GuestToEmbedderChannel; | 109 class GuestToEmbedderChannel; |
| 111 } | 110 } |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 } | 249 } |
| 251 | 250 |
| 252 void set_send_content_state_immediately(bool value) { | 251 void set_send_content_state_immediately(bool value) { |
| 253 send_content_state_immediately_ = value; | 252 send_content_state_immediately_ = value; |
| 254 } | 253 } |
| 255 | 254 |
| 256 MediaStreamDispatcher* media_stream_dispatcher() { | 255 MediaStreamDispatcher* media_stream_dispatcher() { |
| 257 return media_stream_dispatcher_; | 256 return media_stream_dispatcher_; |
| 258 } | 257 } |
| 259 | 258 |
| 260 // Current P2PSocketDispatcher. Set to NULL if P2P API is disabled. | |
| 261 content::P2PSocketDispatcher* p2p_socket_dispatcher() { | |
| 262 return p2p_socket_dispatcher_; | |
| 263 } | |
| 264 | |
| 265 MouseLockDispatcher* mouse_lock_dispatcher() { | 259 MouseLockDispatcher* mouse_lock_dispatcher() { |
| 266 return mouse_lock_dispatcher_; | 260 return mouse_lock_dispatcher_; |
| 267 } | 261 } |
| 268 | 262 |
| 269 #if defined(OS_ANDROID) | 263 #if defined(OS_ANDROID) |
| 270 webkit_media::WebMediaPlayerManagerAndroid* media_player_manager() { | 264 webkit_media::WebMediaPlayerManagerAndroid* media_player_manager() { |
| 271 return media_player_manager_.get(); | 265 return media_player_manager_.get(); |
| 272 } | 266 } |
| 273 #endif | 267 #endif |
| 274 | 268 |
| (...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1383 | 1377 |
| 1384 // Device orientation dispatcher attached to this view; lazily initialized. | 1378 // Device orientation dispatcher attached to this view; lazily initialized. |
| 1385 DeviceOrientationDispatcher* device_orientation_dispatcher_; | 1379 DeviceOrientationDispatcher* device_orientation_dispatcher_; |
| 1386 | 1380 |
| 1387 // MediaStream dispatcher attached to this view; lazily initialized. | 1381 // MediaStream dispatcher attached to this view; lazily initialized. |
| 1388 MediaStreamDispatcher* media_stream_dispatcher_; | 1382 MediaStreamDispatcher* media_stream_dispatcher_; |
| 1389 | 1383 |
| 1390 // MediaStreamImpl attached to this view; lazily initialized. | 1384 // MediaStreamImpl attached to this view; lazily initialized. |
| 1391 MediaStreamImpl* media_stream_impl_; | 1385 MediaStreamImpl* media_stream_impl_; |
| 1392 | 1386 |
| 1393 // Dispatches all P2P socket used by the renderer. | |
| 1394 content::P2PSocketDispatcher* p2p_socket_dispatcher_; | |
| 1395 | |
| 1396 DevToolsAgent* devtools_agent_; | 1387 DevToolsAgent* devtools_agent_; |
| 1397 | 1388 |
| 1398 // The current accessibility mode. | 1389 // The current accessibility mode. |
| 1399 AccessibilityMode accessibility_mode_; | 1390 AccessibilityMode accessibility_mode_; |
| 1400 | 1391 |
| 1401 // Only valid if |accessibility_mode_| is anything other than | 1392 // Only valid if |accessibility_mode_| is anything other than |
| 1402 // AccessibilityModeOff. | 1393 // AccessibilityModeOff. |
| 1403 content::RendererAccessibility* renderer_accessibility_; | 1394 content::RendererAccessibility* renderer_accessibility_; |
| 1404 | 1395 |
| 1405 // Java Bridge dispatcher attached to this view; lazily initialized. | 1396 // Java Bridge dispatcher attached to this view; lazily initialized. |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1554 // bunch of stuff, you should probably create a helper class and put your | 1545 // bunch of stuff, you should probably create a helper class and put your |
| 1555 // data and methods on that to avoid bloating RenderView more. You can | 1546 // data and methods on that to avoid bloating RenderView more. You can |
| 1556 // use the Observer interface to filter IPC messages and receive frame change | 1547 // use the Observer interface to filter IPC messages and receive frame change |
| 1557 // notifications. | 1548 // notifications. |
| 1558 // --------------------------------------------------------------------------- | 1549 // --------------------------------------------------------------------------- |
| 1559 | 1550 |
| 1560 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1551 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1561 }; | 1552 }; |
| 1562 | 1553 |
| 1563 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1554 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |