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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 const PP_Flash_Menu* menu_data) override; | 50 const PP_Flash_Menu* menu_data) override; |
51 PP_Resource CreateFlashMessageLoop(PP_Instance instance) override; | 51 PP_Resource CreateFlashMessageLoop(PP_Instance instance) override; |
52 PP_Resource CreateGraphics3D(PP_Instance instance, | 52 PP_Resource CreateGraphics3D(PP_Instance instance, |
53 PP_Resource share_context, | 53 PP_Resource share_context, |
54 const int32_t* attrib_list) override; | 54 const int32_t* attrib_list) override; |
55 PP_Resource CreateGraphics3DRaw( | 55 PP_Resource CreateGraphics3DRaw( |
56 PP_Instance instance, | 56 PP_Instance instance, |
57 PP_Resource share_context, | 57 PP_Resource share_context, |
58 const int32_t* attrib_list, | 58 const int32_t* attrib_list, |
59 gpu::Capabilities* capabilities, | 59 gpu::Capabilities* capabilities, |
60 base::SharedMemoryHandle* shared_state) override; | 60 base::SharedMemoryHandle* shared_state, |
| 61 uint64_t* command_buffer_id) override; |
61 PP_Resource CreateHostResolver(PP_Instance instance) override; | 62 PP_Resource CreateHostResolver(PP_Instance instance) override; |
62 PP_Resource CreateHostResolverPrivate(PP_Instance instance) override; | 63 PP_Resource CreateHostResolverPrivate(PP_Instance instance) override; |
63 PP_Resource CreateImageData(PP_Instance instance, | 64 PP_Resource CreateImageData(PP_Instance instance, |
64 PP_ImageDataFormat format, | 65 PP_ImageDataFormat format, |
65 const PP_Size* size, | 66 const PP_Size* size, |
66 PP_Bool init_to_zero) override; | 67 PP_Bool init_to_zero) override; |
67 PP_Resource CreateImageDataSimple(PP_Instance instance, | 68 PP_Resource CreateImageDataSimple(PP_Instance instance, |
68 PP_ImageDataFormat format, | 69 PP_ImageDataFormat format, |
69 const PP_Size* size, | 70 const PP_Size* size, |
70 PP_Bool init_to_zero) override; | 71 PP_Bool init_to_zero) override; |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 PP_Bool scroll_by_page) override; | 138 PP_Bool scroll_by_page) override; |
138 PP_Resource CreateX509CertificatePrivate(PP_Instance instance) override; | 139 PP_Resource CreateX509CertificatePrivate(PP_Instance instance) override; |
139 | 140 |
140 private: | 141 private: |
141 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 142 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
142 }; | 143 }; |
143 | 144 |
144 } // namespace content | 145 } // namespace content |
145 | 146 |
146 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ | 147 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |