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

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

Issue 2310563002: Adds routed interface support between RenderFrameHost and RenderFrame (Closed)
Patch Set: nit Created 4 years, 3 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
77 class AssociatedInterfaceProviderImpl;
77 class CrossProcessFrameConnector; 78 class CrossProcessFrameConnector;
78 class CrossSiteTransferringRequest; 79 class CrossSiteTransferringRequest;
79 class FrameTree; 80 class FrameTree;
80 class FrameTreeNode; 81 class FrameTreeNode;
81 class NavigationHandleImpl; 82 class NavigationHandleImpl;
82 class PermissionServiceContext; 83 class PermissionServiceContext;
83 class RenderFrameHostDelegate; 84 class RenderFrameHostDelegate;
84 class RenderFrameProxyHost; 85 class RenderFrameProxyHost;
85 class RenderProcessHost; 86 class RenderProcessHost;
86 class RenderViewHostImpl; 87 class RenderViewHostImpl;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 const JavaScriptResultCallback& callback) override; 153 const JavaScriptResultCallback& callback) override;
153 void ExecuteJavaScriptWithUserGestureForTests( 154 void ExecuteJavaScriptWithUserGestureForTests(
154 const base::string16& javascript) override; 155 const base::string16& javascript) override;
155 void ActivateFindInPageResultForAccessibility(int request_id) override; 156 void ActivateFindInPageResultForAccessibility(int request_id) override;
156 void InsertVisualStateCallback(const VisualStateCallback& callback) override; 157 void InsertVisualStateCallback(const VisualStateCallback& callback) override;
157 void CopyImageAt(int x, int y) override; 158 void CopyImageAt(int x, int y) override;
158 void SaveImageAt(int x, int y) override; 159 void SaveImageAt(int x, int y) override;
159 RenderViewHost* GetRenderViewHost() override; 160 RenderViewHost* GetRenderViewHost() override;
160 shell::InterfaceRegistry* GetInterfaceRegistry() override; 161 shell::InterfaceRegistry* GetInterfaceRegistry() override;
161 shell::InterfaceProvider* GetRemoteInterfaces() override; 162 shell::InterfaceProvider* GetRemoteInterfaces() override;
163 AssociatedInterfaceProvider* GetRemoteAssociatedInterfaces() override;
162 blink::WebPageVisibilityState GetVisibilityState() override; 164 blink::WebPageVisibilityState GetVisibilityState() override;
163 bool IsRenderFrameLive() override; 165 bool IsRenderFrameLive() override;
164 int GetProxyCount() override; 166 int GetProxyCount() override;
165 void FilesSelectedInChooser(const std::vector<FileChooserFileInfo>& files, 167 void FilesSelectedInChooser(const std::vector<FileChooserFileInfo>& files,
166 FileChooserParams::Mode permissions) override; 168 FileChooserParams::Mode permissions) override;
167 void RequestTextSurroundingSelection( 169 void RequestTextSurroundingSelection(
168 const TextSurroundingSelectionCallback& callback, 170 const TextSurroundingSelectionCallback& callback,
169 int max_length) override; 171 int max_length) override;
170 172
171 // mojom::FrameHost 173 // mojom::FrameHost
172 void GetInterfaceProvider( 174 void GetInterfaceProvider(
173 shell::mojom::InterfaceProviderRequest interfaces) override; 175 shell::mojom::InterfaceProviderRequest interfaces) override;
174 176
175 // IPC::Sender 177 // IPC::Sender
176 bool Send(IPC::Message* msg) override; 178 bool Send(IPC::Message* msg) override;
177 179
178 // IPC::Listener 180 // IPC::Listener
179 bool OnMessageReceived(const IPC::Message& msg) override; 181 bool OnMessageReceived(const IPC::Message& msg) override;
182 void OnAssociatedInterfaceRequest(
183 const std::string& interface_name,
184 mojo::ScopedInterfaceEndpointHandle handle) override;
180 185
181 // BrowserAccessibilityDelegate 186 // BrowserAccessibilityDelegate
182 void AccessibilitySetFocus(int acc_obj_id) override; 187 void AccessibilitySetFocus(int acc_obj_id) override;
183 void AccessibilityDoDefaultAction(int acc_obj_id) override; 188 void AccessibilityDoDefaultAction(int acc_obj_id) override;
184 void AccessibilityShowContextMenu(int acc_obj_id) override; 189 void AccessibilityShowContextMenu(int acc_obj_id) override;
185 void AccessibilityScrollToMakeVisible(int acc_obj_id, 190 void AccessibilityScrollToMakeVisible(int acc_obj_id,
186 const gfx::Rect& subfocus) override; 191 const gfx::Rect& subfocus) override;
187 void AccessibilityScrollToPoint(int acc_obj_id, 192 void AccessibilityScrollToPoint(int acc_obj_id,
188 const gfx::Point& point) override; 193 const gfx::Point& point) override;
189 void AccessibilitySetScrollOffset(int acc_obj_id, 194 void AccessibilitySetScrollOffset(int acc_obj_id,
(...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after
1048 1053
1049 mojo::Binding<mojom::FrameHost> frame_host_binding_; 1054 mojo::Binding<mojom::FrameHost> frame_host_binding_;
1050 mojom::FramePtr frame_; 1055 mojom::FramePtr frame_;
1051 1056
1052 // Callback for responding when 1057 // Callback for responding when
1053 // |FrameHostMsg_TextSurroundingSelectionResponse| message comes. 1058 // |FrameHostMsg_TextSurroundingSelectionResponse| message comes.
1054 TextSurroundingSelectionCallback text_surrounding_selection_callback_; 1059 TextSurroundingSelectionCallback text_surrounding_selection_callback_;
1055 1060
1056 std::vector<std::unique_ptr<shell::InterfaceRegistry>> media_registries_; 1061 std::vector<std::unique_ptr<shell::InterfaceRegistry>> media_registries_;
1057 1062
1063 std::unique_ptr<AssociatedInterfaceProviderImpl>
1064 remote_associated_interfaces_;
1065
1058 // NOTE: This must be the last member. 1066 // NOTE: This must be the last member.
1059 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1067 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1060 1068
1061 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1069 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1062 }; 1070 };
1063 1071
1064 } // namespace content 1072 } // namespace content
1065 1073
1066 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1074 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_delegate.h ('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