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

Side by Side Diff: content/browser/compositor/gpu_browser_compositor_output_surface.h

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 4 years, 8 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 unified diff | Download patch
OLDNEW
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 <memory>
9
8 #include "base/cancelable_callback.h" 10 #include "base/cancelable_callback.h"
9 #include "base/macros.h" 11 #include "base/macros.h"
10 #include "build/build_config.h" 12 #include "build/build_config.h"
11 #include "content/browser/compositor/browser_compositor_output_surface.h" 13 #include "content/browser/compositor/browser_compositor_output_surface.h"
12 #include "ui/gfx/swap_result.h" 14 #include "ui/gfx/swap_result.h"
13 15
14 namespace gpu { 16 namespace gpu {
15 class CommandBufferProxyImpl; 17 class CommandBufferProxyImpl;
16 } 18 }
17 19
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 update_vsync_parameters_callback_; 80 update_vsync_parameters_callback_;
79 81
80 std::unique_ptr<ReflectorTexture> reflector_texture_; 82 std::unique_ptr<ReflectorTexture> reflector_texture_;
81 83
82 DISALLOW_COPY_AND_ASSIGN(GpuBrowserCompositorOutputSurface); 84 DISALLOW_COPY_AND_ASSIGN(GpuBrowserCompositorOutputSurface);
83 }; 85 };
84 86
85 } // namespace content 87 } // namespace content
86 88
87 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ 89 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698