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_SURFACE_3D_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_SURFACE_3D_IMPL_H_ |
6 #define WEBKIT_PLUGINS_PPAPI_PPB_SURFACE_3D_IMPL_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PPB_SURFACE_3D_IMPL_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/task.h" | 9 #include "base/task.h" |
10 #include "ppapi/shared_impl/resource.h" | 10 #include "ppapi/shared_impl/resource.h" |
11 #include "ppapi/thunk/ppb_surface_3d_api.h" | 11 #include "ppapi/thunk/ppb_surface_3d_api.h" |
12 #include "webkit/plugins/ppapi/callbacks.h" | 12 #include "webkit/plugins/ppapi/callbacks.h" |
13 #include "webkit/plugins/ppapi/plugin_delegate.h" | 13 #include "webkit/plugins/ppapi/plugin_delegate.h" |
14 | 14 |
15 namespace gfx { | |
16 class Size; | |
17 } | |
18 | |
19 namespace webkit { | 15 namespace webkit { |
20 namespace ppapi { | 16 namespace ppapi { |
21 | 17 |
22 class PPB_Context3D_Impl; | 18 class PPB_Context3D_Impl; |
23 | 19 |
24 class PPB_Surface3D_Impl : public ::ppapi::Resource, | 20 class PPB_Surface3D_Impl : public ::ppapi::Resource, |
25 public ::ppapi::thunk::PPB_Surface3D_API { | 21 public ::ppapi::thunk::PPB_Surface3D_API { |
26 public: | 22 public: |
27 virtual ~PPB_Surface3D_Impl(); | 23 virtual ~PPB_Surface3D_Impl(); |
28 | 24 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 | 74 |
79 base::WeakPtrFactory<PPB_Surface3D_Impl> weak_ptr_factory_; | 75 base::WeakPtrFactory<PPB_Surface3D_Impl> weak_ptr_factory_; |
80 | 76 |
81 DISALLOW_COPY_AND_ASSIGN(PPB_Surface3D_Impl); | 77 DISALLOW_COPY_AND_ASSIGN(PPB_Surface3D_Impl); |
82 }; | 78 }; |
83 | 79 |
84 } // namespace ppapi | 80 } // namespace ppapi |
85 } // namespace webkit | 81 } // namespace webkit |
86 | 82 |
87 #endif // WEBKIT_PLUGINS_PPAPI_PPB_SURFACE_3D_IMPL_H_ | 83 #endif // WEBKIT_PLUGINS_PPAPI_PPB_SURFACE_3D_IMPL_H_ |
OLD | NEW |