Index: content/public/renderer/render_frame.h |
diff --git a/content/public/renderer/render_frame.h b/content/public/renderer/render_frame.h |
index adf7d2a787c682a222fef09d1abc5b00d4ad0840..04000922e77ce6950f95e35a19d2372578f6106f 100644 |
--- a/content/public/renderer/render_frame.h |
+++ b/content/public/renderer/render_frame.h |
@@ -102,6 +102,11 @@ class CONTENT_EXPORT RenderFrame : public IPC::Listener, |
// Visit all live RenderFrames. |
static void ForEach(RenderFrameVisitor* visitor); |
+ // Returns the routing ID for |web_frame|, whether it is a WebLocalFrame in |
+ // this process or a WebRemoteFrame placeholder for a frame in a different |
+ // process. |
+ static int GetRoutingIdForWebFrame(blink::WebFrame* web_frame); |
+ |
// Returns the RenderView associated with this frame. |
virtual RenderView* GetRenderView() = 0; |