| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 namespace mojom { | 69 namespace mojom { |
| 70 class WebBluetoothService; | 70 class WebBluetoothService; |
| 71 } | 71 } |
| 72 } | 72 } |
| 73 | 73 |
| 74 namespace gfx { | 74 namespace gfx { |
| 75 class Range; | 75 class Range; |
| 76 } | 76 } |
| 77 | 77 |
| 78 namespace content { | 78 namespace content { |
| 79 class AppWebMessagePortMessageFilter; | |
| 80 class AssociatedInterfaceProviderImpl; | 79 class AssociatedInterfaceProviderImpl; |
| 81 class CrossProcessFrameConnector; | 80 class CrossProcessFrameConnector; |
| 82 class FrameTree; | 81 class FrameTree; |
| 83 class FrameTreeNode; | 82 class FrameTreeNode; |
| 84 class MediaInterfaceProxy; | 83 class MediaInterfaceProxy; |
| 85 class NavigationHandleImpl; | 84 class NavigationHandleImpl; |
| 86 class PermissionServiceContext; | 85 class PermissionServiceContext; |
| 87 class RenderFrameHostDelegate; | 86 class RenderFrameHostDelegate; |
| 88 class RenderFrameProxyHost; | 87 class RenderFrameProxyHost; |
| 89 class RenderProcessHost; | 88 class RenderProcessHost; |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 // return a nullptr, whereas GetView() potentially will (for instance, | 298 // return a nullptr, whereas GetView() potentially will (for instance, |
| 300 // after a renderer crash). | 299 // after a renderer crash). |
| 301 // | 300 // |
| 302 // This method crashes if this RenderFrameHostImpl does not own a | 301 // This method crashes if this RenderFrameHostImpl does not own a |
| 303 // a RenderWidgetHost and nor does any of its ancestors. That would | 302 // a RenderWidgetHost and nor does any of its ancestors. That would |
| 304 // typically mean that the frame has been detached from the frame tree. | 303 // typically mean that the frame has been detached from the frame tree. |
| 305 RenderWidgetHostImpl* GetRenderWidgetHost(); | 304 RenderWidgetHostImpl* GetRenderWidgetHost(); |
| 306 | 305 |
| 307 GlobalFrameRoutingId GetGlobalFrameRoutingId(); | 306 GlobalFrameRoutingId GetGlobalFrameRoutingId(); |
| 308 | 307 |
| 309 #if defined(OS_ANDROID) | |
| 310 scoped_refptr<AppWebMessagePortMessageFilter> | |
| 311 GetAppWebMessagePortMessageFilter(int routing_id); | |
| 312 #endif | |
| 313 | |
| 314 // This function is called when this is a swapped out RenderFrameHost that | 308 // This function is called when this is a swapped out RenderFrameHost that |
| 315 // lives in the same process as the parent frame. The | 309 // lives in the same process as the parent frame. The |
| 316 // |cross_process_frame_connector| allows the non-swapped-out | 310 // |cross_process_frame_connector| allows the non-swapped-out |
| 317 // RenderFrameHost for a frame to communicate with the parent process | 311 // RenderFrameHost for a frame to communicate with the parent process |
| 318 // so that it may composite drawing data. | 312 // so that it may composite drawing data. |
| 319 // | 313 // |
| 320 // Ownership is not transfered. | 314 // Ownership is not transfered. |
| 321 void set_cross_process_frame_connector( | 315 void set_cross_process_frame_connector( |
| 322 CrossProcessFrameConnector* cross_process_frame_connector) { | 316 CrossProcessFrameConnector* cross_process_frame_connector) { |
| 323 cross_process_frame_connector_ = cross_process_frame_connector; | 317 cross_process_frame_connector_ = cross_process_frame_connector; |
| (...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1014 std::unique_ptr<TimeoutMonitor> swapout_event_monitor_timeout_; | 1008 std::unique_ptr<TimeoutMonitor> swapout_event_monitor_timeout_; |
| 1015 | 1009 |
| 1016 std::unique_ptr<service_manager::InterfaceRegistry> interface_registry_; | 1010 std::unique_ptr<service_manager::InterfaceRegistry> interface_registry_; |
| 1017 std::unique_ptr<service_manager::InterfaceProvider> remote_interfaces_; | 1011 std::unique_ptr<service_manager::InterfaceProvider> remote_interfaces_; |
| 1018 | 1012 |
| 1019 service_manager::ServiceInfo browser_info_; | 1013 service_manager::ServiceInfo browser_info_; |
| 1020 service_manager::ServiceInfo renderer_info_; | 1014 service_manager::ServiceInfo renderer_info_; |
| 1021 | 1015 |
| 1022 int on_connect_handler_id_ = 0; | 1016 int on_connect_handler_id_ = 0; |
| 1023 | 1017 |
| 1024 #if defined(OS_ANDROID) | |
| 1025 // The filter for MessagePort messages between an Android apps and web. | |
| 1026 scoped_refptr<AppWebMessagePortMessageFilter> | |
| 1027 app_web_message_port_message_filter_; | |
| 1028 #endif | |
| 1029 | |
| 1030 std::list<std::unique_ptr<WebBluetoothServiceImpl>> web_bluetooth_services_; | 1018 std::list<std::unique_ptr<WebBluetoothServiceImpl>> web_bluetooth_services_; |
| 1031 | 1019 |
| 1032 // The object managing the accessibility tree for this frame. | 1020 // The object managing the accessibility tree for this frame. |
| 1033 std::unique_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; | 1021 std::unique_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; |
| 1034 | 1022 |
| 1035 // This is nonzero if we sent an accessibility reset to the renderer and | 1023 // This is nonzero if we sent an accessibility reset to the renderer and |
| 1036 // we're waiting for an IPC containing this reset token (sequentially | 1024 // we're waiting for an IPC containing this reset token (sequentially |
| 1037 // assigned) and a complete replacement accessibility tree. | 1025 // assigned) and a complete replacement accessibility tree. |
| 1038 int accessibility_reset_token_; | 1026 int accessibility_reset_token_; |
| 1039 | 1027 |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1133 | 1121 |
| 1134 // NOTE: This must be the last member. | 1122 // NOTE: This must be the last member. |
| 1135 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1123 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 1136 | 1124 |
| 1137 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1125 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 1138 }; | 1126 }; |
| 1139 | 1127 |
| 1140 } // namespace content | 1128 } // namespace content |
| 1141 | 1129 |
| 1142 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1130 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |