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

Unified Diff: content/common/frame_messages.h

Issue 1094113003: Allow out-of-process iframes to render to compositing surfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed one Created 5 years, 7 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
« no previous file with comments | « content/common/cc_messages.h ('k') | content/renderer/child_frame_compositing_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « content/common/cc_messages.h ('k') | content/renderer/child_frame_compositing_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698