Index: content/common/gpu/client/command_buffer_proxy_impl.h |
diff --git a/content/common/gpu/client/command_buffer_proxy_impl.h b/content/common/gpu/client/command_buffer_proxy_impl.h |
index 8a7a6b4c45e514b54fd56fa0ac4958ef29d4bc33..12359e4970628d9f3f49eb27db2cd5a544ed75c5 100644 |
--- a/content/common/gpu/client/command_buffer_proxy_impl.h |
+++ b/content/common/gpu/client/command_buffer_proxy_impl.h |
@@ -71,6 +71,8 @@ class CommandBufferProxyImpl |
virtual void SetMemoryAllocationChangedCallback( |
const base::Callback<void(const GpuMemoryAllocationForRenderer&)>& |
callback) OVERRIDE; |
+ virtual void SetUpdateVSyncTimeCallback( |
+ const base::Callback<void(int64)>& callback) OVERRIDE; |
virtual bool SetParent(CommandBufferProxy* parent_command_buffer, |
uint32 parent_texture_id) OVERRIDE; |
virtual void SetChannelErrorCallback(const base::Closure& callback) OVERRIDE; |
@@ -123,6 +125,7 @@ class CommandBufferProxyImpl |
void OnConsoleMessage(const GPUCommandBufferConsoleMessage& message); |
void OnSetMemoryAllocation(const GpuMemoryAllocationForRenderer& allocation); |
void OnSignalSyncPointAck(uint32 id); |
+ void OnUpdateVSyncTime(int64 time); |
// Try to read an updated copy of the state from shared memory. |
void TryUpdateState(); |
@@ -157,6 +160,8 @@ class CommandBufferProxyImpl |
base::Callback<void(const GpuMemoryAllocationForRenderer&)> |
memory_allocation_changed_callback_; |
+ base::Callback<void(int64)> update_vsync_time_callback_; |
+ |
GpuConsoleMessageCallback console_message_callback_; |
// Tasks to be invoked in SignalSyncPoint responses. |