Chromium Code Reviews| 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 7e769cb154ad7754de70a7559025c733556dfd8f..071ad636f9c4777c24ec7e7fb7bf19eaba880493 100644 |
| --- a/content/public/browser/render_frame_host.h |
| +++ b/content/public/browser/render_frame_host.h |
| @@ -64,6 +64,9 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener, |
| // current RenderFrameHost. |
| virtual RenderFrameHost* GetParent() = 0; |
| + // Returns the FrameTreeNode ID for this frame. |
|
Charlie Reis
2015/11/06 23:13:16
Nasko brings up a good point that we may not want
|
| + virtual int GetFrameTreeNodeID() = 0; |
|
nasko
2015/11/06 23:28:27
Let's call this GetFrameId(). FrameTreeNode is not
robwu
2015/11/07 00:23:40
It is very likely that GetFrameId is confused with
|
| + |
| // Returns the assigned name of the frame, the name of the iframe tag |
| // declaring it. For example, <iframe name="framename">[...]</iframe>. It is |
| // quite possible for a frame to have no name, in which case GetFrameName will |