| Index: content/browser/renderer_host/render_view_host_impl.h
|
| diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
|
| index 383e4175e0982d04a40e81371f34e88ae9898e79..498defaf64a50e6fabb47eca6c1566a9ad85da06 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.h
|
| +++ b/content/browser/renderer_host/render_view_host_impl.h
|
| @@ -394,6 +394,7 @@ class CONTENT_EXPORT RenderViewHostImpl
|
|
|
| // RenderWidgetHost public overrides.
|
| virtual void Init() OVERRIDE;
|
| + virtual void Shutdown() OVERRIDE;
|
| virtual bool IsRenderView() const OVERRIDE;
|
| virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
|
| virtual void GotFocus() OVERRIDE;
|
| @@ -519,6 +520,7 @@ class CONTENT_EXPORT RenderViewHostImpl
|
| bool user_gesture);
|
| void OnShowWidget(int route_id, const gfx::Rect& initial_pos);
|
| void OnShowFullscreenWidget(int route_id);
|
| + void OnRunModal(int opener_id, IPC::Message* reply_msg);
|
| void OnRenderViewReady();
|
| void OnRenderProcessGone(int status, int error_code);
|
| void OnUpdateState(int32 page_id, const PageState& state);
|
| @@ -660,6 +662,12 @@ class CONTENT_EXPORT RenderViewHostImpl
|
| // Routing ID for the main frame's RenderFrameHost.
|
| int main_frame_routing_id_;
|
|
|
| + // If we were asked to RunModal, then this will hold the reply_msg that we
|
| + // must return to the renderer to unblock it.
|
| + IPC::Message* run_modal_reply_msg_;
|
| + // This will hold the routing id of the RenderView that opened us.
|
| + int run_modal_opener_id_;
|
| +
|
| // Set to true when there is a pending ViewMsg_ShouldClose message. This
|
| // ensures we don't spam the renderer with multiple beforeunload requests.
|
| // When either this value or IsWaitingForUnloadACK is true, the value of
|
|
|