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 4bd2006bb5bc741b60975bfc5c6a3d8df3289a92..9f85bb2e6b3e72b785d567c1c357b09ddab3372f 100644 |
--- a/content/common/gpu/client/command_buffer_proxy_impl.h |
+++ b/content/common/gpu/client/command_buffer_proxy_impl.h |
@@ -22,6 +22,7 @@ |
#include "gpu/command_buffer/common/gpu_memory_allocation.h" |
#include "ipc/ipc_listener.h" |
#include "ui/events/latency_info.h" |
+#include "ui/gfx/swap_result.h" |
struct GPUCommandBufferConsoleMessage; |
@@ -136,7 +137,8 @@ class CommandBufferProxyImpl |
void SetLatencyInfo(const std::vector<ui::LatencyInfo>& latency_info); |
using SwapBuffersCompletionCallback = |
- base::Callback<void(const std::vector<ui::LatencyInfo>& latency_info)>; |
+ base::Callback<void(const std::vector<ui::LatencyInfo>& latency_info, |
+ gfx::SwapResult result)>; |
void SetSwapBuffersCompletionCallback( |
const SwapBuffersCompletionCallback& callback); |
@@ -180,7 +182,8 @@ class CommandBufferProxyImpl |
void OnConsoleMessage(const GPUCommandBufferConsoleMessage& message); |
void OnSetMemoryAllocation(const gpu::MemoryAllocation& allocation); |
void OnSignalSyncPointAck(uint32 id); |
- void OnSwapBuffersCompleted(const std::vector<ui::LatencyInfo>& latency_info); |
+ void OnSwapBuffersCompleted(const std::vector<ui::LatencyInfo>& latency_info, |
+ gfx::SwapResult result); |
void OnUpdateVSyncParameters(base::TimeTicks timebase, |
base::TimeDelta interval); |