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

Unified Diff: content/common/view_messages.h

Issue 11316128: Send compositor frame IPC with metadata. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Clean up and rebase to 173167 Created 8 years 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/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index d1e322e9efe091d535b7f2d441d15a7222c48879..1999409638a128f20a872531b2e05d85b70cb875 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -8,6 +8,9 @@
#include "base/process.h"
#include "base/shared_memory.h"
#include "base/string16.h"
+#include "cc/compositor_frame_ack.h"
+#include "cc/delegated_compositor_frame.h"
+#include "cc/gl_compositor_frame.h"
#include "content/common/content_export.h"
#include "content/common/content_param_traits.h"
#include "content/common/edit_command.h"
@@ -2243,6 +2246,13 @@ IPC_MESSAGE_ROUTED5(ViewHostMsg_CompositorSurfaceBuffersSwapped,
gfx::Size /* size */,
int32 /* gpu_process_host_id */)
+IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapGLCompositorFrame,
+ cc::GLCompositorFrame /* frame */)
+IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapDelegatedCompositorFrame,
+ cc::DelegatedCompositorFrame /* frame */)
+IPC_MESSAGE_ROUTED1(ViewHostMsg_SwapCompositorFrameAck,
+ cc::CompositorFrameAck /* ack */)
+
// Opens a file asynchronously. The response returns a file descriptor
// and an error code from base/platform_file.h.
IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile,

Powered by Google App Engine
This is Rietveld 408576698