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_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" | 12 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" |
| 13 #include "content/renderer/pepper/plugin_delegate.h" |
13 #include "gpu/command_buffer/common/mailbox.h" | 14 #include "gpu/command_buffer/common/mailbox.h" |
14 #include "webkit/plugins/ppapi/plugin_delegate.h" | |
15 | 15 |
16 #ifdef ENABLE_GPU | 16 #ifdef ENABLE_GPU |
17 | 17 |
18 class CommandBufferProxy; | 18 class CommandBufferProxy; |
19 namespace gpu { | 19 namespace gpu { |
20 class CommandBuffer; | 20 class CommandBuffer; |
21 } // namespace gpu | 21 } // namespace gpu |
22 | 22 |
23 namespace content { | 23 namespace content { |
24 class ContextProviderCommandBuffer; | 24 class ContextProviderCommandBuffer; |
(...skipping 28 matching lines...) Expand all Loading... |
53 base::Closure context_lost_callback_; | 53 base::Closure context_lost_callback_; |
54 ConsoleMessageCallback console_message_callback_; | 54 ConsoleMessageCallback console_message_callback_; |
55 base::WeakPtrFactory<PlatformContext3DImpl> weak_ptr_factory_; | 55 base::WeakPtrFactory<PlatformContext3DImpl> weak_ptr_factory_; |
56 }; | 56 }; |
57 | 57 |
58 } // namespace content | 58 } // namespace content |
59 | 59 |
60 #endif // ENABLE_GPU | 60 #endif // ENABLE_GPU |
61 | 61 |
62 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_ | 62 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLATFORM_CONTEXT_3D_IMPL_H_ |
OLD | NEW |