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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 virtual PP_Resource CreateFlashFontFile( | 44 virtual PP_Resource CreateFlashFontFile( |
45 PP_Instance instance, | 45 PP_Instance instance, |
46 const PP_BrowserFont_Trusted_Description* description, | 46 const PP_BrowserFont_Trusted_Description* description, |
47 PP_PrivateFontCharset charset) OVERRIDE; | 47 PP_PrivateFontCharset charset) OVERRIDE; |
48 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 48 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
49 const PP_Flash_Menu* menu_data) OVERRIDE; | 49 const PP_Flash_Menu* menu_data) OVERRIDE; |
50 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; | 50 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; |
51 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 51 virtual 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 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, | 54 virtual PP_Resource CreateGraphics3DRaw( |
55 PP_Resource share_context, | 55 PP_Instance instance, |
56 const int32_t* attrib_list) OVERRIDE; | 56 PP_Resource share_context, |
| 57 const int32_t* attrib_list, |
| 58 base::SharedMemoryHandle* shared_state) OVERRIDE; |
57 virtual PP_Resource CreateHostResolver(PP_Instance instance) OVERRIDE; | 59 virtual PP_Resource CreateHostResolver(PP_Instance instance) OVERRIDE; |
58 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE; | 60 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE; |
59 virtual PP_Resource CreateImageData(PP_Instance instance, | 61 virtual PP_Resource CreateImageData(PP_Instance instance, |
60 PP_ImageDataFormat format, | 62 PP_ImageDataFormat format, |
61 const PP_Size* size, | 63 const PP_Size* size, |
62 PP_Bool init_to_zero) OVERRIDE; | 64 PP_Bool init_to_zero) OVERRIDE; |
63 virtual PP_Resource CreateImageDataSimple(PP_Instance instance, | 65 virtual PP_Resource CreateImageDataSimple(PP_Instance instance, |
64 PP_ImageDataFormat format, | 66 PP_ImageDataFormat format, |
65 const PP_Size* size, | 67 const PP_Size* size, |
66 PP_Bool init_to_zero) OVERRIDE; | 68 PP_Bool init_to_zero) OVERRIDE; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) | 145 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) |
144 OVERRIDE; | 146 OVERRIDE; |
145 | 147 |
146 private: | 148 private: |
147 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 149 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
148 }; | 150 }; |
149 | 151 |
150 } // namespace content | 152 } // namespace content |
151 | 153 |
152 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ | 154 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |