Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2844923002: Replace InterfaceRegistry on RenderFrameHostImpl with BinderRegistry (Closed)
Patch Set: . Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 void ExecuteJavaScriptForTests( 164 void ExecuteJavaScriptForTests(
165 const base::string16& javascript, 165 const base::string16& javascript,
166 const JavaScriptResultCallback& callback) override; 166 const JavaScriptResultCallback& callback) override;
167 void ExecuteJavaScriptWithUserGestureForTests( 167 void ExecuteJavaScriptWithUserGestureForTests(
168 const base::string16& javascript) override; 168 const base::string16& javascript) override;
169 void ActivateFindInPageResultForAccessibility(int request_id) override; 169 void ActivateFindInPageResultForAccessibility(int request_id) override;
170 void InsertVisualStateCallback(const VisualStateCallback& callback) override; 170 void InsertVisualStateCallback(const VisualStateCallback& callback) override;
171 void CopyImageAt(int x, int y) override; 171 void CopyImageAt(int x, int y) override;
172 void SaveImageAt(int x, int y) override; 172 void SaveImageAt(int x, int y) override;
173 RenderViewHost* GetRenderViewHost() override; 173 RenderViewHost* GetRenderViewHost() override;
174 service_manager::InterfaceRegistry* GetInterfaceRegistry() override; 174 service_manager::BinderRegistry* GetInterfaceRegistry() override;
175 service_manager::InterfaceProvider* GetRemoteInterfaces() override; 175 service_manager::InterfaceProvider* GetRemoteInterfaces() override;
176 AssociatedInterfaceProvider* GetRemoteAssociatedInterfaces() override; 176 AssociatedInterfaceProvider* GetRemoteAssociatedInterfaces() override;
177 blink::WebPageVisibilityState GetVisibilityState() override; 177 blink::WebPageVisibilityState GetVisibilityState() override;
178 bool IsRenderFrameLive() override; 178 bool IsRenderFrameLive() override;
179 int GetProxyCount() override; 179 int GetProxyCount() override;
180 void FilesSelectedInChooser(const std::vector<FileChooserFileInfo>& files, 180 void FilesSelectedInChooser(const std::vector<FileChooserFileInfo>& files,
181 FileChooserParams::Mode permissions) override; 181 FileChooserParams::Mode permissions) override;
182 bool HasSelection() override; 182 bool HasSelection() override;
183 void RequestTextSurroundingSelection( 183 void RequestTextSurroundingSelection(
184 const TextSurroundingSelectionCallback& callback, 184 const TextSurroundingSelectionCallback& callback,
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after
1046 // relevant NavigationEntry. 1046 // relevant NavigationEntry.
1047 int nav_entry_id_; 1047 int nav_entry_id_;
1048 1048
1049 // Used to swap out or shut down this RFH when the unload event is taking too 1049 // Used to swap out or shut down this RFH when the unload event is taking too
1050 // long to execute, depending on the number of active frames in the 1050 // long to execute, depending on the number of active frames in the
1051 // SiteInstance. May be null in tests. 1051 // SiteInstance. May be null in tests.
1052 std::unique_ptr<TimeoutMonitor> swapout_event_monitor_timeout_; 1052 std::unique_ptr<TimeoutMonitor> swapout_event_monitor_timeout_;
1053 1053
1054 std::unique_ptr<AssociatedInterfaceRegistryImpl> associated_registry_; 1054 std::unique_ptr<AssociatedInterfaceRegistryImpl> associated_registry_;
1055 1055
1056 std::unique_ptr<service_manager::InterfaceRegistry> interface_registry_; 1056 std::unique_ptr<service_manager::BinderRegistry> interface_registry_;
1057 std::unique_ptr<service_manager::InterfaceProvider> remote_interfaces_; 1057 std::unique_ptr<service_manager::InterfaceProvider> remote_interfaces_;
1058 1058
1059 service_manager::ServiceInfo browser_info_; 1059 service_manager::ServiceInfo browser_info_;
1060 service_manager::ServiceInfo renderer_info_; 1060 service_manager::ServiceInfo renderer_info_;
1061 1061
1062 int on_connect_handler_id_ = 0; 1062 int on_connect_handler_id_ = 0;
1063 1063
1064 std::list<std::unique_ptr<WebBluetoothServiceImpl>> web_bluetooth_services_; 1064 std::list<std::unique_ptr<WebBluetoothServiceImpl>> web_bluetooth_services_;
1065 1065
1066 // The object managing the accessibility tree for this frame. 1066 // The object managing the accessibility tree for this frame.
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
1195 1195
1196 // NOTE: This must be the last member. 1196 // NOTE: This must be the last member.
1197 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1197 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1198 1198
1199 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1199 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1200 }; 1200 };
1201 1201
1202 } // namespace content 1202 } // namespace content
1203 1203
1204 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1204 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/browser_child_process_host_impl.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698