| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 class ListValue; | 66 class ListValue; |
| 67 } | 67 } |
| 68 | 68 |
| 69 namespace blink { | 69 namespace blink { |
| 70 namespace mojom { | 70 namespace mojom { |
| 71 class WebBluetoothService; | 71 class WebBluetoothService; |
| 72 } | 72 } |
| 73 } | 73 } |
| 74 | 74 |
| 75 namespace content { | 75 namespace content { |
| 76 | 76 class AppWebMessagePortMessageFilter; |
| 77 class AssociatedInterfaceProviderImpl; | 77 class AssociatedInterfaceProviderImpl; |
| 78 class CrossProcessFrameConnector; | 78 class CrossProcessFrameConnector; |
| 79 class FrameTree; | 79 class FrameTree; |
| 80 class FrameTreeNode; | 80 class FrameTreeNode; |
| 81 class NavigationHandleImpl; | 81 class NavigationHandleImpl; |
| 82 class PermissionServiceContext; | 82 class PermissionServiceContext; |
| 83 class RenderFrameHostDelegate; | 83 class RenderFrameHostDelegate; |
| 84 class RenderFrameProxyHost; | 84 class RenderFrameProxyHost; |
| 85 class RenderProcessHost; | 85 class RenderProcessHost; |
| 86 class RenderViewHostImpl; | 86 class RenderViewHostImpl; |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 // |cross_process_frame_connector| allows the non-swapped-out | 303 // |cross_process_frame_connector| allows the non-swapped-out |
| 304 // RenderFrameHost for a frame to communicate with the parent process | 304 // RenderFrameHost for a frame to communicate with the parent process |
| 305 // so that it may composite drawing data. | 305 // so that it may composite drawing data. |
| 306 // | 306 // |
| 307 // Ownership is not transfered. | 307 // Ownership is not transfered. |
| 308 void set_cross_process_frame_connector( | 308 void set_cross_process_frame_connector( |
| 309 CrossProcessFrameConnector* cross_process_frame_connector) { | 309 CrossProcessFrameConnector* cross_process_frame_connector) { |
| 310 cross_process_frame_connector_ = cross_process_frame_connector; | 310 cross_process_frame_connector_ = cross_process_frame_connector; |
| 311 } | 311 } |
| 312 | 312 |
| 313 #if defined(OS_ANDROID) |
| 314 void set_app_web_message_port_delegate( |
| 315 AppWebMessagePortMessageFilter* filter) { |
| 316 app_web_message_port_message_filter_ = filter; |
| 317 } |
| 318 #endif |
| 319 |
| 313 void set_render_frame_proxy_host(RenderFrameProxyHost* proxy) { | 320 void set_render_frame_proxy_host(RenderFrameProxyHost* proxy) { |
| 314 render_frame_proxy_host_ = proxy; | 321 render_frame_proxy_host_ = proxy; |
| 315 } | 322 } |
| 316 | 323 |
| 317 // Returns a bitwise OR of bindings types that have been enabled for this | 324 // Returns a bitwise OR of bindings types that have been enabled for this |
| 318 // RenderFrameHostImpl's RenderView. See BindingsPolicy for details. | 325 // RenderFrameHostImpl's RenderView. See BindingsPolicy for details. |
| 319 // TODO(creis): Make bindings frame-specific, to support cases like <webview>. | 326 // TODO(creis): Make bindings frame-specific, to support cases like <webview>. |
| 320 int GetEnabledBindings(); | 327 int GetEnabledBindings(); |
| 321 | 328 |
| 322 // The unique ID of the latest NavigationEntry that this RenderFrameHost is | 329 // The unique ID of the latest NavigationEntry that this RenderFrameHost is |
| (...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 958 // Used to swap out or shut down this RFH when the unload event is taking too | 965 // Used to swap out or shut down this RFH when the unload event is taking too |
| 959 // long to execute, depending on the number of active frames in the | 966 // long to execute, depending on the number of active frames in the |
| 960 // SiteInstance. May be null in tests. | 967 // SiteInstance. May be null in tests. |
| 961 std::unique_ptr<TimeoutMonitor> swapout_event_monitor_timeout_; | 968 std::unique_ptr<TimeoutMonitor> swapout_event_monitor_timeout_; |
| 962 | 969 |
| 963 std::unique_ptr<shell::InterfaceRegistry> interface_registry_; | 970 std::unique_ptr<shell::InterfaceRegistry> interface_registry_; |
| 964 std::unique_ptr<shell::InterfaceProvider> remote_interfaces_; | 971 std::unique_ptr<shell::InterfaceProvider> remote_interfaces_; |
| 965 | 972 |
| 966 #if defined(OS_ANDROID) | 973 #if defined(OS_ANDROID) |
| 967 std::unique_ptr<InterfaceRegistryAndroid> interface_registry_android_; | 974 std::unique_ptr<InterfaceRegistryAndroid> interface_registry_android_; |
| 975 |
| 976 // The filter for MessagePort messages between an Android apps and web. |
| 977 AppWebMessagePortMessageFilter* |
| 978 app_web_message_port_message_filter_; |
| 968 #endif | 979 #endif |
| 969 | 980 |
| 970 std::unique_ptr<WebBluetoothServiceImpl> web_bluetooth_service_; | 981 std::unique_ptr<WebBluetoothServiceImpl> web_bluetooth_service_; |
| 971 | 982 |
| 972 // The object managing the accessibility tree for this frame. | 983 // The object managing the accessibility tree for this frame. |
| 973 std::unique_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; | 984 std::unique_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; |
| 974 | 985 |
| 975 // This is nonzero if we sent an accessibility reset to the renderer and | 986 // This is nonzero if we sent an accessibility reset to the renderer and |
| 976 // we're waiting for an IPC containing this reset token (sequentially | 987 // we're waiting for an IPC containing this reset token (sequentially |
| 977 // assigned) and a complete replacement accessibility tree. | 988 // assigned) and a complete replacement accessibility tree. |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1053 | 1064 |
| 1054 // NOTE: This must be the last member. | 1065 // NOTE: This must be the last member. |
| 1055 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1066 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 1056 | 1067 |
| 1057 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1068 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 1058 }; | 1069 }; |
| 1059 | 1070 |
| 1060 } // namespace content | 1071 } // namespace content |
| 1061 | 1072 |
| 1062 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1073 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |