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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 int world_id) override; | 153 int world_id) override; |
154 void ExecuteJavaScriptForTests(const base::string16& javascript) override; | 154 void ExecuteJavaScriptForTests(const base::string16& javascript) override; |
155 void ExecuteJavaScriptForTests( | 155 void ExecuteJavaScriptForTests( |
156 const base::string16& javascript, | 156 const base::string16& javascript, |
157 const JavaScriptResultCallback& callback) override; | 157 const JavaScriptResultCallback& callback) override; |
158 void ExecuteJavaScriptWithUserGestureForTests( | 158 void ExecuteJavaScriptWithUserGestureForTests( |
159 const base::string16& javascript) override; | 159 const base::string16& javascript) override; |
160 void ActivateFindInPageResultForAccessibility(int request_id) override; | 160 void ActivateFindInPageResultForAccessibility(int request_id) override; |
161 void InsertVisualStateCallback(const VisualStateCallback& callback) override; | 161 void InsertVisualStateCallback(const VisualStateCallback& callback) override; |
162 RenderViewHost* GetRenderViewHost() override; | 162 RenderViewHost* GetRenderViewHost() override; |
163 ServiceRegistry* GetServiceRegistry() override; | 163 BrowserServiceRegistry* GetServiceRegistry() override; |
164 blink::WebPageVisibilityState GetVisibilityState() override; | 164 blink::WebPageVisibilityState GetVisibilityState() override; |
165 bool IsRenderFrameLive() override; | 165 bool IsRenderFrameLive() override; |
166 int GetProxyCount() override; | 166 int GetProxyCount() override; |
167 #if defined(OS_ANDROID) | 167 #if defined(OS_ANDROID) |
168 void ActivateNearestFindResult(int request_id, float x, float y) override; | 168 void ActivateNearestFindResult(int request_id, float x, float y) override; |
169 void RequestFindMatchRects(int current_version) override; | 169 void RequestFindMatchRects(int current_version) override; |
170 #endif | 170 #endif |
171 | 171 |
172 // IPC::Sender | 172 // IPC::Sender |
173 bool Send(IPC::Message* msg) override; | 173 bool Send(IPC::Message* msg) override; |
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
886 // such as for a new subframe navigation in a different frame. Tracking this | 886 // such as for a new subframe navigation in a different frame. Tracking this |
887 // allows us to send things like title and state updates to the latest | 887 // allows us to send things like title and state updates to the latest |
888 // relevant NavigationEntry. | 888 // relevant NavigationEntry. |
889 int nav_entry_id_; | 889 int nav_entry_id_; |
890 | 890 |
891 // Used to swap out or shut down this RFH when the unload event is taking too | 891 // Used to swap out or shut down this RFH when the unload event is taking too |
892 // long to execute, depending on the number of active frames in the | 892 // long to execute, depending on the number of active frames in the |
893 // SiteInstance. | 893 // SiteInstance. |
894 scoped_ptr<TimeoutMonitor> swapout_event_monitor_timeout_; | 894 scoped_ptr<TimeoutMonitor> swapout_event_monitor_timeout_; |
895 | 895 |
896 scoped_ptr<ServiceRegistryImpl> service_registry_; | 896 scoped_ptr<BrowserServiceRegistryImpl> service_registry_; |
897 | |
898 #if defined(OS_ANDROID) | |
899 scoped_ptr<ServiceRegistryAndroid> service_registry_android_; | |
900 #endif | |
901 | 897 |
902 scoped_ptr<WebBluetoothServiceImpl> web_bluetooth_service_; | 898 scoped_ptr<WebBluetoothServiceImpl> web_bluetooth_service_; |
903 | 899 |
904 // The object managing the accessibility tree for this frame. | 900 // The object managing the accessibility tree for this frame. |
905 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; | 901 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; |
906 | 902 |
907 // This is nonzero if we sent an accessibility reset to the renderer and | 903 // This is nonzero if we sent an accessibility reset to the renderer and |
908 // we're waiting for an IPC containing this reset token (sequentially | 904 // we're waiting for an IPC containing this reset token (sequentially |
909 // assigned) and a complete replacement accessibility tree. | 905 // assigned) and a complete replacement accessibility tree. |
910 int accessibility_reset_token_; | 906 int accessibility_reset_token_; |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
976 | 972 |
977 // NOTE: This must be the last member. | 973 // NOTE: This must be the last member. |
978 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 974 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
979 | 975 |
980 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 976 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
981 }; | 977 }; |
982 | 978 |
983 } // namespace content | 979 } // namespace content |
984 | 980 |
985 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 981 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |