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 PPAPI_PROXY_PPB_GRAPHICS_3D_PROXY_H_ | 5 #ifndef PPAPI_PROXY_PPB_GRAPHICS_3D_PROXY_H_ |
6 #define PPAPI_PROXY_PPB_GRAPHICS_3D_PROXY_H_ | 6 #define PPAPI_PROXY_PPB_GRAPHICS_3D_PROXY_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/shared_memory.h" | 10 #include "base/shared_memory.h" |
11 #include "gpu/command_buffer/common/command_buffer.h" | 11 #include "gpu/command_buffer/common/command_buffer.h" |
12 #include "ppapi/c/pp_graphics_3d.h" | 12 #include "ppapi/c/pp_graphics_3d.h" |
13 #include "ppapi/c/pp_instance.h" | 13 #include "ppapi/c/pp_instance.h" |
14 #include "ppapi/cpp/completion_callback.h" | |
15 #include "ppapi/proxy/interface_proxy.h" | 14 #include "ppapi/proxy/interface_proxy.h" |
16 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" | 15 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" |
17 #include "ppapi/shared_impl/ppb_graphics_3d_shared.h" | 16 #include "ppapi/shared_impl/ppb_graphics_3d_shared.h" |
18 #include "ppapi/shared_impl/resource.h" | 17 #include "ppapi/shared_impl/resource.h" |
| 18 #include "ppapi/utility/completion_callback_factory.h" |
19 | 19 |
20 namespace ppapi { | 20 namespace ppapi { |
21 | 21 |
22 class HostResource; | 22 class HostResource; |
23 | 23 |
24 namespace proxy { | 24 namespace proxy { |
25 | 25 |
26 class Graphics3D : public PPB_Graphics3D_Shared { | 26 class Graphics3D : public PPB_Graphics3D_Shared { |
27 public: | 27 public: |
28 explicit Graphics3D(const HostResource& resource); | 28 explicit Graphics3D(const HostResource& resource); |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 ProxyNonThreadSafeRefCount> callback_factory_; | 106 ProxyNonThreadSafeRefCount> callback_factory_; |
107 | 107 |
108 DISALLOW_COPY_AND_ASSIGN(PPB_Graphics3D_Proxy); | 108 DISALLOW_COPY_AND_ASSIGN(PPB_Graphics3D_Proxy); |
109 }; | 109 }; |
110 | 110 |
111 } // namespace proxy | 111 } // namespace proxy |
112 } // namespace ppapi | 112 } // namespace ppapi |
113 | 113 |
114 #endif // PPAPI_PROXY_PPB_GRAPHICS_3D_PROXY_H_ | 114 #endif // PPAPI_PROXY_PPB_GRAPHICS_3D_PROXY_H_ |
115 | 115 |
OLD | NEW |