OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 WEBKIT_PLUGINS_PPAPI_PPB_CONTEXT_3D_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_CONTEXT_3D_IMPL_H_ |
6 #define WEBKIT_PLUGINS_PPAPI_PPB_CONTEXT_3D_IMPL_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PPB_CONTEXT_3D_IMPL_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "ppapi/shared_impl/resource.h" | 10 #include "ppapi/shared_impl/resource.h" |
11 #include "ppapi/thunk/ppb_context_3d_api.h" | 11 #include "ppapi/thunk/ppb_context_3d_api.h" |
12 #include "webkit/plugins/ppapi/plugin_delegate.h" | 12 #include "webkit/plugins/ppapi/plugin_delegate.h" |
13 | 13 |
14 struct PPB_Context3DTrusted_Dev; | |
15 | |
16 namespace gpu { | 14 namespace gpu { |
17 class CommandBuffer; | |
18 namespace gles2 { | 15 namespace gles2 { |
19 class GLES2CmdHelper; | 16 class GLES2CmdHelper; |
20 class GLES2Implementation; | 17 class GLES2Implementation; |
21 } // namespace gles2 | 18 } // namespace gles2 |
22 } // namespace gpu | 19 } // namespace gpu |
23 | 20 |
24 namespace webkit { | 21 namespace webkit { |
25 namespace ppapi { | 22 namespace ppapi { |
26 | 23 |
27 class PPB_Surface3D_Impl; | 24 class PPB_Surface3D_Impl; |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 109 |
113 base::WeakPtrFactory<PPB_Context3D_Impl> weak_ptr_factory_; | 110 base::WeakPtrFactory<PPB_Context3D_Impl> weak_ptr_factory_; |
114 | 111 |
115 DISALLOW_COPY_AND_ASSIGN(PPB_Context3D_Impl); | 112 DISALLOW_COPY_AND_ASSIGN(PPB_Context3D_Impl); |
116 }; | 113 }; |
117 | 114 |
118 } // namespace ppapi | 115 } // namespace ppapi |
119 } // namespace webkit | 116 } // namespace webkit |
120 | 117 |
121 #endif // WEBKIT_PLUGINS_PPAPI_PPB_CONTEXT_3D_IMPL_H_ | 118 #endif // WEBKIT_PLUGINS_PPAPI_PPB_CONTEXT_3D_IMPL_H_ |
OLD | NEW |