Index: content/renderer/render_frame_impl.h |
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h |
index 77d4941458969da14df8f10cb08ec9743ff6bc57..08cf7b2b627963bb6c1aa30b49225f8deab9b3af 100644 |
--- a/content/renderer/render_frame_impl.h |
+++ b/content/renderer/render_frame_impl.h |
@@ -28,6 +28,7 @@ |
#include "third_party/WebKit/public/web/WebDataSource.h" |
#include "third_party/WebKit/public/web/WebFrameClient.h" |
#include "third_party/WebKit/public/web/WebHistoryCommitType.h" |
+#include "third_party/WebKit/public/web/WebRemoteFrame.h" |
#include "ui/gfx/range/range.h" |
#if defined(OS_ANDROID) |
@@ -88,6 +89,7 @@ class UserMediaClientImpl; |
struct CommitNavigationParams; |
struct CommonNavigationParams; |
struct CustomContextMenuContext; |
+struct FrameReplicationState; |
struct RequestNavigationParams; |
struct ResourceResponseHead; |
@@ -513,6 +515,7 @@ class CONTENT_EXPORT RenderFrameImpl |
OnExtendSelectionAndDelete); |
FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ReloadWhileSwappedOut); |
FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SendSwapOutACK); |
+ FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OriginReplicationForSwapOut); |
FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, |
SetEditableSelectionAndComposition); |
FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, |
@@ -536,7 +539,8 @@ class CONTENT_EXPORT RenderFrameImpl |
// The documentation for these functions should be in |
// content/common/*_messages.h for the message that the function is handling. |
void OnBeforeUnload(); |
- void OnSwapOut(int proxy_routing_id); |
+ void OnSwapOut(int proxy_routing_id, |
+ const FrameReplicationState& remote_frame_state); |
void OnStop(); |
void OnShowContextMenu(const gfx::Point& location); |
void OnContextMenuClosed(const CustomContextMenuContext& custom_context); |