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

Unified Diff: content/common/view_messages.h

Issue 10915298: Add CCDelegatingRenderer, and corresponding IPCs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix clang Created 8 years, 2 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/gpu/client/DEPS ('k') | content/content_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index d8780b28e15c7ac10a5d088b92a653042970c61e..a109c3069b6785c1a8bbd10f4dd70a253ea65d4c 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -7,6 +7,7 @@
#include "base/process.h"
#include "base/shared_memory.h"
+#include "cc/ipc/cc_param_traits.h"
#include "content/common/content_export.h"
#include "content/common/content_param_traits.h"
#include "content/common/css_colors.h"
@@ -791,6 +792,19 @@ IPC_STRUCT_BEGIN(ViewMsg_New_Params)
IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode)
IPC_STRUCT_END()
+IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResource)
+ IPC_STRUCT_TRAITS_MEMBER(id)
+ IPC_STRUCT_TRAITS_MEMBER(format)
+ IPC_STRUCT_TRAITS_MEMBER(size)
+ IPC_STRUCT_TRAITS_MEMBER(mailbox)
+IPC_STRUCT_TRAITS_END()
+
+IPC_STRUCT_TRAITS_BEGIN(cc::TransferableResourceList)
+ IPC_STRUCT_TRAITS_MEMBER(sync_point)
+ IPC_STRUCT_TRAITS_MEMBER(resources)
+IPC_STRUCT_TRAITS_END()
+
+
// Messages sent from the browser to the renderer.
// Sent to the RenderView when a new tab is swapped into an existing
@@ -2390,3 +2404,8 @@ IPC_MESSAGE_ROUTED3(ViewHostMsg_FindMatchRects_Reply,
IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent,
GURL /* content_url */)
#endif
+
+IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapCompositorFrame,
+ cc::CompositorFrame /* frame */)
+IPC_MESSAGE_ROUTED1(ViewMsg_SwapCompositorFrameACK,
+ cc::CompositorFrameAck /* ack */)
« no previous file with comments | « content/common/gpu/client/DEPS ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698