OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |