| Index: content/renderer/render_view.h
|
| diff --git a/content/renderer/render_view.h b/content/renderer/render_view.h
|
| index 4cdf0e2769516822d9aed31b396a7841702c30e3..8f3608c11300633b6858d1291f3dc8ed8c3e0538 100644
|
| --- a/content/renderer/render_view.h
|
| +++ b/content/renderer/render_view.h
|
| @@ -71,7 +71,7 @@ class WebUIBindings;
|
| struct ContextMenuMediaParams;
|
| struct PP_Flash_NetAddress;
|
| struct ViewHostMsg_RunFileChooser_Params;
|
| -struct ViewMsg_ClosePage_Params;
|
| +struct ViewMsg_SwapOut_Params;
|
| struct ViewMsg_Navigate_Params;
|
| struct ViewMsg_StopFinding_Params;
|
| struct WebDropData;
|
| @@ -693,6 +693,10 @@ class RenderView : public RenderWidget,
|
| // Send queued accessibility notifications from the renderer to the browser.
|
| void SendPendingAccessibilityNotifications();
|
|
|
| + // Allows certain IPC messages to be sent while swapped out, in case they
|
| + // are needed to keep the browser and renderer in a consistent state.
|
| + virtual bool CanSendWhileSwappedOut(IPC::Message* message);
|
| +
|
| // IPC message handlers ------------------------------------------------------
|
| //
|
| // The documentation for these functions should be in
|
| @@ -710,7 +714,7 @@ class RenderView : public RenderWidget,
|
| IPC::ChannelHandle handle);
|
| void OnCancelDownload(int32 download_id);
|
| void OnClearFocusedNode();
|
| - void OnClosePage(const ViewMsg_ClosePage_Params& params);
|
| + void OnClosePage();
|
| #if defined(ENABLE_FLAPPER_HACKS)
|
| void OnConnectTcpACK(int request_id,
|
| IPC::PlatformFileForTransit socket_for_transit,
|
| @@ -796,6 +800,7 @@ class RenderView : public RenderWidget,
|
| void OnShouldClose();
|
| void OnStop();
|
| void OnStopFinding(const ViewMsg_StopFinding_Params& params);
|
| + void OnSwapOut(const ViewMsg_SwapOut_Params& params);
|
| void OnThemeChanged();
|
| void OnUndo();
|
| void OnUpdateTargetURLAck();
|
|
|