| 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 a8f71fe3476e8a935a5be204b7a582b28ca37c9d..3db9cd8a736ff976cfcb2abee112cb91c1e97650 100644
|
| --- a/content/public/browser/render_frame_host.h
|
| +++ b/content/public/browser/render_frame_host.h
|
| @@ -78,6 +78,14 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
|
| // current RenderFrameHost.
|
| virtual RenderFrameHost* GetParent() = 0;
|
|
|
| + // Calls |on_frame| for each child frame of this RenderFrameHost.
|
| + // Note: The RenderFrameHost parameter is not guaranteed to have a live
|
| + // RenderFrame counterpart in the renderer process. Callbacks should check
|
| + // IsRenderFrameLive, as sending IPC messages to it in this case will fail
|
| + // silently.
|
| + virtual void ForEachChildFrame(
|
| + const base::Callback<void(RenderFrameHost*)>& on_frame) = 0;
|
| +
|
| // Returns the FrameTreeNode ID for this frame. This ID is browser-global and
|
| // uniquely identifies a frame that hosts content. The identifier is fixed at
|
| // the creation of the frame and stays constant for the lifetime of the frame.
|
|
|