namespace content {
class RenderFrameHost;
class WebContents;
+struct ContextMenuParams;
// An interface implemented by an object interested in knowing about the state
// of the RenderFrameHost.
// Informs the delegate whenever a RenderFrameHost is deleted.
virtual void RenderFrameDeleted(RenderFrameHost* render_frame_host) {}
+ // The top-level RenderFrame began loading a new page. This corresponds to
+ // Blink's notion of the throbber starting.
+ virtual void DidStartLoading(RenderFrameHost* render_frame_host) {}
+
+ // The top-level RenderFrame stopped loading a page. This corresponds to
+ // Blink's notion of the throbber stopping.
+ virtual void DidStopLoading(RenderFrameHost* render_frame_host) {}
+
// Notification that a worker process has crashed.
- virtual void WorkerCrashed() {}
+ virtual void WorkerCrashed(RenderFrameHost* render_frame_host) {}
+
+ // A context menu should be shown, to be built using the context information
+ // provided in the supplied params.
+ virtual void ShowContextMenu(RenderFrameHost* render_frame_host,
+ const ContextMenuParams& params) {}
// Return this object cast to a WebContents, if it is one. If the object is
// not a WebContents, returns NULL.