| 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 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 896 void OnMediaInterfaceFactoryConnectionError(); | 896 void OnMediaInterfaceFactoryConnectionError(); |
| 897 | 897 |
| 898 // service_manager::mojom::InterfaceProvider: | 898 // service_manager::mojom::InterfaceProvider: |
| 899 void GetInterface(const std::string& interface_name, | 899 void GetInterface(const std::string& interface_name, |
| 900 mojo::ScopedMessagePipeHandle interface_pipe) override; | 900 mojo::ScopedMessagePipeHandle interface_pipe) override; |
| 901 | 901 |
| 902 // Allows tests to disable the swapout event timer to simulate bugs that | 902 // Allows tests to disable the swapout event timer to simulate bugs that |
| 903 // happen before it fires (to avoid flakiness). | 903 // happen before it fires (to avoid flakiness). |
| 904 void DisableSwapOutTimerForTesting(); | 904 void DisableSwapOutTimerForTesting(); |
| 905 | 905 |
| 906 void OnRendererConnect(const service_manager::ServiceInfo& local_info, | 906 void OnRendererConnect(const service_manager::BindSourceInfo& local_info, |
| 907 const service_manager::ServiceInfo& remote_info); | 907 const service_manager::BindSourceInfo& remote_info); |
| 908 | 908 |
| 909 void SendJavaScriptDialogReply(IPC::Message* reply_msg, | 909 void SendJavaScriptDialogReply(IPC::Message* reply_msg, |
| 910 bool success, | 910 bool success, |
| 911 const base::string16& user_input); | 911 const base::string16& user_input); |
| 912 | 912 |
| 913 // Returns ownership of the NavigationHandle associated with a navigation that | 913 // Returns ownership of the NavigationHandle associated with a navigation that |
| 914 // just committed. | 914 // just committed. |
| 915 std::unique_ptr<NavigationHandleImpl> TakeNavigationHandleForCommit( | 915 std::unique_ptr<NavigationHandleImpl> TakeNavigationHandleForCommit( |
| 916 const FrameHostMsg_DidCommitProvisionalLoad_Params& params); | 916 const FrameHostMsg_DidCommitProvisionalLoad_Params& params); |
| 917 | 917 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1048 // Used to swap out or shut down this RFH when the unload event is taking too | 1048 // Used to swap out or shut down this RFH when the unload event is taking too |
| 1049 // long to execute, depending on the number of active frames in the | 1049 // long to execute, depending on the number of active frames in the |
| 1050 // SiteInstance. May be null in tests. | 1050 // SiteInstance. May be null in tests. |
| 1051 std::unique_ptr<TimeoutMonitor> swapout_event_monitor_timeout_; | 1051 std::unique_ptr<TimeoutMonitor> swapout_event_monitor_timeout_; |
| 1052 | 1052 |
| 1053 std::unique_ptr<AssociatedInterfaceRegistryImpl> associated_registry_; | 1053 std::unique_ptr<AssociatedInterfaceRegistryImpl> associated_registry_; |
| 1054 | 1054 |
| 1055 std::unique_ptr<service_manager::BinderRegistry> interface_registry_; | 1055 std::unique_ptr<service_manager::BinderRegistry> interface_registry_; |
| 1056 std::unique_ptr<service_manager::InterfaceProvider> remote_interfaces_; | 1056 std::unique_ptr<service_manager::InterfaceProvider> remote_interfaces_; |
| 1057 | 1057 |
| 1058 service_manager::ServiceInfo browser_info_; | |
| 1059 service_manager::ServiceInfo renderer_info_; | |
| 1060 | |
| 1061 int on_connect_handler_id_ = 0; | |
| 1062 | |
| 1063 std::list<std::unique_ptr<WebBluetoothServiceImpl>> web_bluetooth_services_; | 1058 std::list<std::unique_ptr<WebBluetoothServiceImpl>> web_bluetooth_services_; |
| 1064 | 1059 |
| 1065 // The object managing the accessibility tree for this frame. | 1060 // The object managing the accessibility tree for this frame. |
| 1066 std::unique_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; | 1061 std::unique_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; |
| 1067 | 1062 |
| 1068 // This is nonzero if we sent an accessibility reset to the renderer and | 1063 // This is nonzero if we sent an accessibility reset to the renderer and |
| 1069 // we're waiting for an IPC containing this reset token (sequentially | 1064 // we're waiting for an IPC containing this reset token (sequentially |
| 1070 // assigned) and a complete replacement accessibility tree. | 1065 // assigned) and a complete replacement accessibility tree. |
| 1071 int accessibility_reset_token_; | 1066 int accessibility_reset_token_; |
| 1072 | 1067 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1192 | 1187 |
| 1193 // NOTE: This must be the last member. | 1188 // NOTE: This must be the last member. |
| 1194 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1189 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
| 1195 | 1190 |
| 1196 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1191 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
| 1197 }; | 1192 }; |
| 1198 | 1193 |
| 1199 } // namespace content | 1194 } // namespace content |
| 1200 | 1195 |
| 1201 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1196 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
| OLD | NEW |