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_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ |
6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ | 6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 namespace blink { | 23 namespace blink { |
24 enum class WebFeaturePolicyFeature; | 24 enum class WebFeaturePolicyFeature; |
25 } | 25 } |
26 | 26 |
27 namespace base { | 27 namespace base { |
28 class Value; | 28 class Value; |
29 } | 29 } |
30 | 30 |
31 namespace service_manager { | 31 namespace service_manager { |
32 class InterfaceRegistry; | 32 class BinderRegistry; |
33 class InterfaceProvider; | 33 class InterfaceProvider; |
34 } | 34 } |
35 | 35 |
36 namespace ui { | 36 namespace ui { |
37 struct AXActionData; | 37 struct AXActionData; |
38 } | 38 } |
39 | 39 |
40 namespace content { | 40 namespace content { |
41 class AssociatedInterfaceProvider; | 41 class AssociatedInterfaceProvider; |
42 class RenderProcessHost; | 42 class RenderProcessHost; |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 | 171 |
172 // Requests to save the image at the location in viewport coordinates (not | 172 // Requests to save the image at the location in viewport coordinates (not |
173 // frame coordinates). If there is an image at the location, the renderer | 173 // frame coordinates). If there is an image at the location, the renderer |
174 // will post back the appropriate download message to trigger the save UI. | 174 // will post back the appropriate download message to trigger the save UI. |
175 // If there is no image at that location, does nothing. | 175 // If there is no image at that location, does nothing. |
176 virtual void SaveImageAt(int x, int y) = 0; | 176 virtual void SaveImageAt(int x, int y) = 0; |
177 | 177 |
178 // RenderViewHost for this frame. | 178 // RenderViewHost for this frame. |
179 virtual RenderViewHost* GetRenderViewHost() = 0; | 179 virtual RenderViewHost* GetRenderViewHost() = 0; |
180 | 180 |
181 // Returns the InterfaceRegistry that this process uses to expose interfaces | 181 // Returns the BinderRegistry that this process uses to expose interfaces |
182 // to the application running in this frame. | 182 // to the application running in this frame. |
183 virtual service_manager::InterfaceRegistry* GetInterfaceRegistry() = 0; | 183 virtual service_manager::BinderRegistry* GetInterfaceRegistry() = 0; |
184 | 184 |
185 // Returns the InterfaceProvider that this process can use to bind | 185 // Returns the InterfaceProvider that this process can use to bind |
186 // interfaces exposed to it by the application running in this frame. | 186 // interfaces exposed to it by the application running in this frame. |
187 virtual service_manager::InterfaceProvider* GetRemoteInterfaces() = 0; | 187 virtual service_manager::InterfaceProvider* GetRemoteInterfaces() = 0; |
188 | 188 |
189 // Returns the AssociatedInterfaceProvider that this process can use to access | 189 // Returns the AssociatedInterfaceProvider that this process can use to access |
190 // remote frame-specific Channel-associated interfaces for this frame. | 190 // remote frame-specific Channel-associated interfaces for this frame. |
191 virtual AssociatedInterfaceProvider* GetRemoteAssociatedInterfaces() = 0; | 191 virtual AssociatedInterfaceProvider* GetRemoteAssociatedInterfaces() = 0; |
192 | 192 |
193 // Returns the visibility state of the frame. The different visibility states | 193 // Returns the visibility state of the frame. The different visibility states |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 | 255 |
256 private: | 256 private: |
257 // This interface should only be implemented inside content. | 257 // This interface should only be implemented inside content. |
258 friend class RenderFrameHostImpl; | 258 friend class RenderFrameHostImpl; |
259 RenderFrameHost() {} | 259 RenderFrameHost() {} |
260 }; | 260 }; |
261 | 261 |
262 } // namespace content | 262 } // namespace content |
263 | 263 |
264 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ | 264 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ |
OLD | NEW |