OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_COMPOSITOR_GPU_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ | 5 #ifndef CONTENT_BROWSER_COMPOSITOR_GPU_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ |
6 #define CONTENT_BROWSER_COMPOSITOR_GPU_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ | 6 #define CONTENT_BROWSER_COMPOSITOR_GPU_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ |
7 | 7 |
8 #include "content/browser/compositor/browser_compositor_output_surface.h" | 8 #include "content/browser/compositor/browser_compositor_output_surface.h" |
9 | 9 |
10 namespace ui { | 10 namespace ui { |
(...skipping 16 matching lines...) Expand all Loading... |
27 const scoped_refptr<ContextProviderCommandBuffer>& context, | 27 const scoped_refptr<ContextProviderCommandBuffer>& context, |
28 int surface_id, | 28 int surface_id, |
29 IDMap<BrowserCompositorOutputSurface>* output_surface_map, | 29 IDMap<BrowserCompositorOutputSurface>* output_surface_map, |
30 const scoped_refptr<ui::CompositorVSyncManager>& vsync_manager, | 30 const scoped_refptr<ui::CompositorVSyncManager>& vsync_manager, |
31 scoped_ptr<cc::OverlayCandidateValidator> overlay_candidate_validator); | 31 scoped_ptr<cc::OverlayCandidateValidator> overlay_candidate_validator); |
32 | 32 |
33 virtual ~GpuBrowserCompositorOutputSurface(); | 33 virtual ~GpuBrowserCompositorOutputSurface(); |
34 | 34 |
35 protected: | 35 protected: |
36 // cc::OutputSurface implementation. | 36 // cc::OutputSurface implementation. |
37 virtual void SwapBuffers(cc::CompositorFrame* frame) OVERRIDE; | 37 virtual void SwapBuffers(cc::CompositorFrame* frame) override; |
38 | 38 |
39 DISALLOW_COPY_AND_ASSIGN(GpuBrowserCompositorOutputSurface); | 39 DISALLOW_COPY_AND_ASSIGN(GpuBrowserCompositorOutputSurface); |
40 }; | 40 }; |
41 | 41 |
42 } // namespace content | 42 } // namespace content |
43 | 43 |
44 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ | 44 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ |
OLD | NEW |