| 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 #include "url/origin.h" | 22 #include "url/origin.h" |
| 23 | 23 |
| 24 namespace blink { | 24 namespace blink { |
| 25 enum class WebFeaturePolicyFeature; | 25 enum class WebFeaturePolicyFeature; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace base { | 28 namespace base { |
| 29 class Value; | 29 class Value; |
| 30 } | 30 } |
| 31 | 31 |
| 32 namespace resource_coordinator { |
| 33 class ResourceCoordinatorInterface; |
| 34 } |
| 35 |
| 32 namespace service_manager { | 36 namespace service_manager { |
| 33 class BinderRegistry; | 37 class BinderRegistry; |
| 34 class InterfaceProvider; | 38 class InterfaceProvider; |
| 35 } | 39 } |
| 36 | 40 |
| 37 namespace ui { | 41 namespace ui { |
| 38 struct AXActionData; | 42 struct AXActionData; |
| 39 } | 43 } |
| 40 | 44 |
| 41 namespace content { | 45 namespace content { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 virtual int GetRoutingID() = 0; | 82 virtual int GetRoutingID() = 0; |
| 79 | 83 |
| 80 // Returns the accessibility tree ID for this RenderFrameHost. | 84 // Returns the accessibility tree ID for this RenderFrameHost. |
| 81 virtual int GetAXTreeID() = 0; | 85 virtual int GetAXTreeID() = 0; |
| 82 | 86 |
| 83 // Returns the SiteInstance grouping all RenderFrameHosts that have script | 87 // Returns the SiteInstance grouping all RenderFrameHosts that have script |
| 84 // access to this RenderFrameHost, and must therefore live in the same | 88 // access to this RenderFrameHost, and must therefore live in the same |
| 85 // process. | 89 // process. |
| 86 virtual SiteInstance* GetSiteInstance() = 0; | 90 virtual SiteInstance* GetSiteInstance() = 0; |
| 87 | 91 |
| 92 // Returns the interface for the Global Resource Coordinator |
| 93 // for this frame. |
| 94 virtual resource_coordinator::ResourceCoordinatorInterface* |
| 95 GetFrameResourceCoordinator() = 0; |
| 96 |
| 88 // Returns the process for this frame. | 97 // Returns the process for this frame. |
| 89 virtual RenderProcessHost* GetProcess() = 0; | 98 virtual RenderProcessHost* GetProcess() = 0; |
| 90 | 99 |
| 91 // Returns the RenderWidgetHostView that can be used to control focus and | 100 // Returns the RenderWidgetHostView that can be used to control focus and |
| 92 // visibility for this frame. | 101 // visibility for this frame. |
| 93 virtual RenderWidgetHostView* GetView() = 0; | 102 virtual RenderWidgetHostView* GetView() = 0; |
| 94 | 103 |
| 95 // Returns the current RenderFrameHost of the parent frame, or nullptr if | 104 // Returns the current RenderFrameHost of the parent frame, or nullptr if |
| 96 // there is no parent. The result may be in a different process than the | 105 // there is no parent. The result may be in a different process than the |
| 97 // current RenderFrameHost. | 106 // current RenderFrameHost. |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 | 288 |
| 280 private: | 289 private: |
| 281 // This interface should only be implemented inside content. | 290 // This interface should only be implemented inside content. |
| 282 friend class RenderFrameHostImpl; | 291 friend class RenderFrameHostImpl; |
| 283 RenderFrameHost() {} | 292 RenderFrameHost() {} |
| 284 }; | 293 }; |
| 285 | 294 |
| 286 } // namespace content | 295 } // namespace content |
| 287 | 296 |
| 288 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ | 297 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ |
| OLD | NEW |