Index: content/common/gpu/gpu_messages.h |
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h |
index 049785f3fa3ed62fcff0f141db060393751ab73e..b50b2790d06b4ca13450439dd34d51edba925802 100644 |
--- a/content/common/gpu/gpu_messages.h |
+++ b/content/common/gpu/gpu_messages.h |
@@ -58,7 +58,11 @@ IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params) |
#elif defined(OS_MACOSX) |
IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window) |
#endif |
+#if defined(USE_AURA) |
+ IPC_STRUCT_MEMBER(uint32, visibility_state_id) |
+ IPC_STRUCT_MEMBER(bool, require_ack) |
IPC_STRUCT_END() |
+#endif |
piman
2012/06/12 20:59:48
the #endif probably should be one line higher othe
|
#undef IPC_MESSAGE_EXPORT |
#define IPC_MESSAGE_EXPORT |
@@ -73,6 +77,9 @@ IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params) |
#if defined(OS_MACOSX) |
IPC_STRUCT_MEMBER(gfx::PluginWindowHandle, window) |
#endif |
+#if defined(USE_AURA) |
+ IPC_STRUCT_MEMBER(uint32, visibility_state_id) |
+#endif |
IPC_STRUCT_END() |
IPC_STRUCT_BEGIN(GpuHostMsg_AcceleratedSurfaceRelease_Params) |
@@ -200,6 +207,10 @@ IPC_MESSAGE_ROUTED2(AcceleratedSurfaceMsg_NewACK, |
uint64 /* surface_handle */, |
TransportDIB::Handle /* shared memory buffer */) |
+// Tells the GPU process if it's worth suggesting release of the front surface. |
+IPC_MESSAGE_ROUTED2(AcceleratedSurfaceMsg_SetFrontSurfaceIsProtected, |
+ bool /* is_protected */, uint32 /* visibility_state_id */) |
piman
2012/06/12 20:59:48
nit: on messages we usually do 1 parameter per lin
|
+ |
// Tells the GPU process that the browser process handled the swap |
// buffers request. |
IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_BuffersSwappedACK) |