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

Unified Diff: content/browser/compositor/gpu_browser_compositor_output_surface.h

Issue 1084173004: Adding status to swap complete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: set SWAP_RESULT_LAST properly Created 5 years, 7 months 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/browser/compositor/gpu_browser_compositor_output_surface.h
diff --git a/content/browser/compositor/gpu_browser_compositor_output_surface.h b/content/browser/compositor/gpu_browser_compositor_output_surface.h
index 2b3d2b76dbf68bbaecd5767c93d488f7431f09cc..cbe93badc2dc4a10ca21b37cb72e4e523e116c60 100644
--- a/content/browser/compositor/gpu_browser_compositor_output_surface.h
+++ b/content/browser/compositor/gpu_browser_compositor_output_surface.h
@@ -7,6 +7,7 @@
#include "base/cancelable_callback.h"
#include "content/browser/compositor/browser_compositor_output_surface.h"
+#include "ui/gfx/swap_result.h"
namespace ui {
class CompositorVSyncManager;
@@ -54,9 +55,11 @@ class GpuBrowserCompositorOutputSurface
#endif
CommandBufferProxyImpl* GetCommandBufferProxy();
- void OnSwapBuffersCompleted(const std::vector<ui::LatencyInfo>& latency_info);
+ void OnSwapBuffersCompleted(const std::vector<ui::LatencyInfo>& latency_info,
+ gfx::SwapResult result);
- base::CancelableCallback<void(const std::vector<ui::LatencyInfo>&)>
+ base::CancelableCallback<void(const std::vector<ui::LatencyInfo>&,
+ gfx::SwapResult)>
swap_buffers_completion_callback_;
base::CancelableCallback<void(base::TimeTicks timebase,
base::TimeDelta interval)>
« no previous file with comments | « no previous file | content/browser/compositor/gpu_browser_compositor_output_surface.cc » ('j') | ui/gfx/swap_result.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698