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

Unified Diff: content/public/browser/render_frame_host.h

Issue 2837603002: Content API changes to improve DOM stitching in ThreatDetails code. (Closed)
Patch Set: Address feedback 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/render_frame_host.h
diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h
index 72cbc18bbafaea6d07ae5e29f5e9c42fc69c5d0a..b7245f1f965575eb0852e9d414dc9b704d31418f 100644
--- a/content/public/browser/render_frame_host.h
+++ b/content/public/browser/render_frame_host.h
@@ -63,6 +63,12 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
// Returns a RenderFrameHost given its accessibility tree ID.
static RenderFrameHost* FromAXTreeID(int ax_tree_id);
+ // Returns the RenderFrameHost corresponding to the specified |process_id| and
+ // |routing_id|. This host may represent a placeholder for a frame that is
+ // currently rendered in a different process than |process_id|.
Charlie Reis 2017/05/10 22:17:49 Hmm, I really prefer the previous version of the A
lpz 2017/05/12 13:53:16 Done.
+ static RenderFrameHost* GetRenderFrameHostForRoutingId(int process_id,
+ int routing_id);
+
~RenderFrameHost() override {}
// Returns the route id for this frame.

Powered by Google App Engine
This is Rietveld 408576698