Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1460)

Unified Diff: content/renderer/render_view.h

Issue 6319001: Support window.opener after a process swap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add WasSwappedOut message for clean exit. Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/render_view.h
diff --git a/content/renderer/render_view.h b/content/renderer/render_view.h
index 059e6817a084ed84ff14692208d2e23142a79baa..8f43708040d09603b7616d0336e585a891aea584 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;
@@ -236,6 +236,9 @@ class RenderView : public RenderWidget,
void AddObserver(RenderViewObserver* observer);
void RemoveObserver(RenderViewObserver* observer);
+ // Swap this RenderView back in if the tab navigates back to this process.
+ void SwapIn();
+
// Evaluates a string of JavaScript in a particular frame.
void EvaluateScript(const string16& frame_xpath,
const string16& jscript,
@@ -724,7 +727,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,
@@ -811,6 +814,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();

Powered by Google App Engine
This is Rietveld 408576698