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

Side by Side Diff: content/renderer/pepper/ppb_graphics_3d_impl.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory>
11
10 #include "base/macros.h" 12 #include "base/macros.h"
11 #include "base/memory/shared_memory.h" 13 #include "base/memory/shared_memory.h"
12 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
13 #include "gpu/command_buffer/client/gpu_control_client.h" 15 #include "gpu/command_buffer/client/gpu_control_client.h"
14 #include "gpu/command_buffer/common/command_buffer_id.h" 16 #include "gpu/command_buffer/common/command_buffer_id.h"
15 #include "gpu/command_buffer/common/mailbox.h" 17 #include "gpu/command_buffer/common/mailbox.h"
16 #include "gpu/command_buffer/common/sync_token.h" 18 #include "gpu/command_buffer/common/sync_token.h"
17 #include "ppapi/shared_impl/ppb_graphics_3d_shared.h" 19 #include "ppapi/shared_impl/ppb_graphics_3d_shared.h"
18 #include "ppapi/shared_impl/resource.h" 20 #include "ppapi/shared_impl/resource.h"
19 21
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 std::unique_ptr<gpu::CommandBufferProxyImpl> command_buffer_; 110 std::unique_ptr<gpu::CommandBufferProxyImpl> command_buffer_;
109 111
110 base::WeakPtrFactory<PPB_Graphics3D_Impl> weak_ptr_factory_; 112 base::WeakPtrFactory<PPB_Graphics3D_Impl> weak_ptr_factory_;
111 113
112 DISALLOW_COPY_AND_ASSIGN(PPB_Graphics3D_Impl); 114 DISALLOW_COPY_AND_ASSIGN(PPB_Graphics3D_Impl);
113 }; 115 };
114 116
115 } // namespace content 117 } // namespace content
116 118
117 #endif // CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_ 119 #endif // CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/renderer_gpu_video_accelerator_factories.h ('k') | gpu/blink/webgraphicscontext3d_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698