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 WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
6 #define WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_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 CreateFileSystem(PP_Instance instance, | 44 virtual PP_Resource CreateFileSystem(PP_Instance instance, |
45 PP_FileSystemType type) OVERRIDE; | 45 PP_FileSystemType type) OVERRIDE; |
46 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) OVERRIDE; | 46 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) OVERRIDE; |
47 virtual PP_Resource CreateFlashFontFile( | 47 virtual PP_Resource CreateFlashFontFile( |
48 PP_Instance instance, | 48 PP_Instance instance, |
49 const PP_FontDescription_Dev* description, | 49 const PP_FontDescription_Dev* description, |
50 PP_PrivateFontCharset charset) OVERRIDE; | 50 PP_PrivateFontCharset charset) OVERRIDE; |
51 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 51 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
52 const PP_Flash_Menu* menu_data) OVERRIDE; | 52 const PP_Flash_Menu* menu_data) OVERRIDE; |
53 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; | 53 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; |
54 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, | |
55 const PP_Size& size, | |
56 PP_Bool is_always_opaque) OVERRIDE; | |
57 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 54 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
58 PP_Resource share_context, | 55 PP_Resource share_context, |
59 const int32_t* attrib_list) OVERRIDE; | 56 const int32_t* attrib_list) OVERRIDE; |
60 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, | 57 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, |
61 PP_Resource share_context, | 58 PP_Resource share_context, |
62 const int32_t* attrib_list) OVERRIDE; | 59 const int32_t* attrib_list) OVERRIDE; |
63 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE; | 60 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE; |
64 virtual PP_Resource CreateImageData(PP_Instance instance, | 61 virtual PP_Resource CreateImageData(PP_Instance instance, |
65 PP_ImageDataFormat format, | 62 PP_ImageDataFormat format, |
66 const PP_Size& size, | 63 const PP_Size& size, |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 PP_Instance instance) OVERRIDE; | 128 PP_Instance instance) OVERRIDE; |
132 | 129 |
133 private: | 130 private: |
134 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 131 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
135 }; | 132 }; |
136 | 133 |
137 } // namespace ppapi | 134 } // namespace ppapi |
138 } // namespace webkit | 135 } // namespace webkit |
139 | 136 |
140 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 137 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |