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

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: Destroy Surface when resetting id 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
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 4187c13513b0781e1616bfff6cf4c01b63c42ed5..9b8ebfb6b34501bffc021f273f09881f3ae0fa42 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,15 @@ IPC_SYNC_MESSAGE_CONTROL4_2(FrameHostMsg_OpenChannelToPlugin,
IPC_MESSAGE_ROUTED1(FrameHostMsg_CompositorFrameSwappedACK,
FrameHostMsg_CompositorFrameSwappedACK_Params /* params */)
+// TODO
nasko 2015/05/28 20:42:36 Missing comments?
kenrb 2015/05/29 19:29:37 Added.
+IPC_MESSAGE_ROUTED1(FrameHostMsg_SatisfySequence,
+ cc::SurfaceSequence /* sequence */)
+
+// TODO
+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.

Powered by Google App Engine
This is Rietveld 408576698