Index: content/common/frame_messages.h |
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h |
index 4187c13513b0781e1616bfff6cf4c01b63c42ed5..b5e2e63eea9913623c706b0bf150069a811852f0 100644 |
--- a/content/common/frame_messages.h |
+++ b/content/common/frame_messages.h |
@@ -5,6 +5,8 @@ |
// IPC messages for interacting with frames. |
// Multiply-included message file, hence no include guard. |
+#include "cc/surfaces/surface_id.h" |
+#include "cc/surfaces/surface_sequence.h" |
#include "content/common/content_export.h" |
#include "content/common/content_param_traits.h" |
#include "content/common/frame_message_enums.h" |
@@ -410,6 +412,12 @@ IPC_STRUCT_END() |
IPC_MESSAGE_ROUTED1(FrameMsg_CompositorFrameSwapped, |
FrameMsg_CompositorFrameSwapped_Params /* params */) |
+IPC_MESSAGE_ROUTED4(FrameMsg_SetChildFrameSurface, |
+ cc::SurfaceId /* surface_id */, |
+ gfx::Size /* frame_size */, |
+ float /* scale_factor */, |
+ cc::SurfaceSequence /* sequence */) |
+ |
// Notifies the embedding frame that the process rendering the child frame's |
// contents has terminated. |
IPC_MESSAGE_ROUTED0(FrameMsg_ChildFrameProcessGone) |
@@ -838,6 +846,16 @@ IPC_SYNC_MESSAGE_CONTROL4_2(FrameHostMsg_OpenChannelToPlugin, |
IPC_MESSAGE_ROUTED1(FrameHostMsg_CompositorFrameSwappedACK, |
FrameHostMsg_CompositorFrameSwappedACK_Params /* params */) |
+// Satisfies a Surface destruction dependency associated with |sequence|. |
+IPC_MESSAGE_ROUTED1(FrameHostMsg_SatisfySequence, |
+ cc::SurfaceSequence /* sequence */) |
+ |
+// Creates a destruction dependency for the Surface specified by the given |
+// |surface_id|. |
+IPC_MESSAGE_ROUTED2(FrameHostMsg_RequireSequence, |
+ cc::SurfaceId /* surface_id */, |
+ cc::SurfaceSequence /* sequence */) |
+ |
// Provides the result from handling BeforeUnload. |proceed| matches the return |
// value of the frame's beforeunload handler: true if the user decided to |
// proceed with leaving the page. |