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_RESOURCE_CREATION_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "ppapi/thunk/resource_creation_api.h" | 10 #include "ppapi/thunk/resource_creation_api.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 const PP_Flash_Menu* menu_data) override; | 49 const PP_Flash_Menu* menu_data) override; |
50 PP_Resource CreateFlashMessageLoop(PP_Instance instance) override; | 50 PP_Resource CreateFlashMessageLoop(PP_Instance instance) override; |
51 PP_Resource CreateGraphics3D(PP_Instance instance, | 51 PP_Resource CreateGraphics3D(PP_Instance instance, |
52 PP_Resource share_context, | 52 PP_Resource share_context, |
53 const int32_t* attrib_list) override; | 53 const int32_t* attrib_list) override; |
54 PP_Resource CreateGraphics3DRaw( | 54 PP_Resource CreateGraphics3DRaw( |
55 PP_Instance instance, | 55 PP_Instance instance, |
56 PP_Resource share_context, | 56 PP_Resource share_context, |
57 const int32_t* attrib_list, | 57 const int32_t* attrib_list, |
58 gpu::Capabilities* capabilities, | 58 gpu::Capabilities* capabilities, |
59 base::SharedMemoryHandle* shared_state) override; | 59 base::SharedMemoryHandle* shared_state, |
| 60 ppapi::CommandBufferIDPair* id_pair) override; |
60 PP_Resource CreateHostResolver(PP_Instance instance) override; | 61 PP_Resource CreateHostResolver(PP_Instance instance) override; |
61 PP_Resource CreateHostResolverPrivate(PP_Instance instance) override; | 62 PP_Resource CreateHostResolverPrivate(PP_Instance instance) override; |
62 PP_Resource CreateImageData(PP_Instance instance, | 63 PP_Resource CreateImageData(PP_Instance instance, |
63 PP_ImageDataFormat format, | 64 PP_ImageDataFormat format, |
64 const PP_Size* size, | 65 const PP_Size* size, |
65 PP_Bool init_to_zero) override; | 66 PP_Bool init_to_zero) override; |
66 PP_Resource CreateImageDataSimple(PP_Instance instance, | 67 PP_Resource CreateImageDataSimple(PP_Instance instance, |
67 PP_ImageDataFormat format, | 68 PP_ImageDataFormat format, |
68 const PP_Size* size, | 69 const PP_Size* size, |
69 PP_Bool init_to_zero) override; | 70 PP_Bool init_to_zero) override; |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 PP_Bool scroll_by_page) override; | 137 PP_Bool scroll_by_page) override; |
137 PP_Resource CreateX509CertificatePrivate(PP_Instance instance) override; | 138 PP_Resource CreateX509CertificatePrivate(PP_Instance instance) override; |
138 | 139 |
139 private: | 140 private: |
140 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 141 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
141 }; | 142 }; |
142 | 143 |
143 } // namespace content | 144 } // namespace content |
144 | 145 |
145 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ | 146 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |