Index: content/common/gpu/gpu_messages.h |
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h |
index 7843f2bdf5d557e16c643ee7383e36068c6b9fda..35ffd8e6f861a7c6094410f82e5d17e9b38e9ebd 100644 |
--- a/content/common/gpu/gpu_messages.h |
+++ b/content/common/gpu/gpu_messages.h |
@@ -625,6 +625,15 @@ IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_UpdateVSyncParameters, |
// Send to stub on surface visibility change. |
IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetSurfaceVisible, bool /* visible */) |
+// Sent to proxy when the gpu memory manager changes its memory allocation. |
+IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetMemoryAllocation, |
+ gpu::MemoryAllocation /* allocation */) |
+ |
+// Sent to stub when proxy is assigned a memory allocation changed callback. |
+IPC_MESSAGE_ROUTED1( |
+ GpuCommandBufferMsg_SetClientHasMemoryAllocationChangedCallback, |
+ bool /* has_callback */) |
+ |
// Inserts a sync point into the channel. This is handled on the IO thread, so |
// can be expected to be reasonably fast, but the sync point is actually |
// retired in order with respect to the other calls. The sync point is shared |