| Index: content/browser/compositor/browser_compositor_output_surface.h
|
| diff --git a/content/browser/compositor/browser_compositor_output_surface.h b/content/browser/compositor/browser_compositor_output_surface.h
|
| index 6f52832a9e9bffaebc10e224d3d7c88ddcf5017f..dcc9675d8b5480bf05ea10f93ec0456dee5838f4 100644
|
| --- a/content/browser/compositor/browser_compositor_output_surface.h
|
| +++ b/content/browser/compositor/browser_compositor_output_surface.h
|
| @@ -25,6 +25,10 @@ namespace gfx {
|
| enum class SwapResult;
|
| }
|
|
|
| +namespace gpu {
|
| +struct GpuProcessHostedCALayerTreeParamsMac;
|
| +}
|
| +
|
| namespace content {
|
| class ContextProviderCommandBuffer;
|
| class ReflectorImpl;
|
| @@ -57,9 +61,14 @@ class CONTENT_EXPORT BrowserCompositorOutputSurface
|
| virtual base::Closure CreateCompositionStartedCallback();
|
|
|
| // Called when a swap completion is sent from the GPU process.
|
| + // The argument |params_mac| is used to communicate parameters needed on Mac
|
| + // to display the CALayer for the swap in the browser process.
|
| + // TODO(ccameron): Remove |params_mac| when the CALayer tree is hosted in the
|
| + // browser process.
|
| virtual void OnGpuSwapBuffersCompleted(
|
| const std::vector<ui::LatencyInfo>& latency_info,
|
| - gfx::SwapResult result) = 0;
|
| + gfx::SwapResult result,
|
| + const gpu::GpuProcessHostedCALayerTreeParamsMac* params_mac) = 0;
|
|
|
| #if defined(OS_MACOSX)
|
| virtual void SetSurfaceSuspendedForRecycle(bool suspended) = 0;
|
|
|