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

Side by Side Diff: content/public/browser/render_frame_host.h

Issue 2710823003: NOCOMMIT prototype: GRC service plumbing and process priority
Patch Set: Rebase Created 3 years, 6 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_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
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
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 virtual resource_coordinator::ResourceCoordinatorInterface*
93 GetFrameResourceCoordinator() = 0;
94
88 // Returns the process for this frame. 95 // Returns the process for this frame.
89 virtual RenderProcessHost* GetProcess() = 0; 96 virtual RenderProcessHost* GetProcess() = 0;
90 97
91 // Returns the RenderWidgetHostView that can be used to control focus and 98 // Returns the RenderWidgetHostView that can be used to control focus and
92 // visibility for this frame. 99 // visibility for this frame.
93 virtual RenderWidgetHostView* GetView() = 0; 100 virtual RenderWidgetHostView* GetView() = 0;
94 101
95 // Returns the current RenderFrameHost of the parent frame, or nullptr if 102 // 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 103 // there is no parent. The result may be in a different process than the
97 // current RenderFrameHost. 104 // current RenderFrameHost.
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 286
280 private: 287 private:
281 // This interface should only be implemented inside content. 288 // This interface should only be implemented inside content.
282 friend class RenderFrameHostImpl; 289 friend class RenderFrameHostImpl;
283 RenderFrameHost() {} 290 RenderFrameHost() {}
284 }; 291 };
285 292
286 } // namespace content 293 } // namespace content
287 294
288 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 295 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
OLDNEW
« no previous file with comments | « content/public/app/mojo/content_browser_manifest.json ('k') | content/public/browser/render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698