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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; | 42 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; |
43 virtual PP_Resource CreateBuffer(PP_Instance instance, | 43 virtual PP_Resource CreateBuffer(PP_Instance instance, |
44 uint32_t size) OVERRIDE; | 44 uint32_t size) OVERRIDE; |
45 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; | 45 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; |
46 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; | 46 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; |
47 virtual PP_Resource CreateFileRef(PP_Resource file_system, | 47 virtual PP_Resource CreateFileRef(PP_Resource file_system, |
48 const char* path) OVERRIDE; | 48 const char* path) OVERRIDE; |
49 virtual PP_Resource CreateFileSystem(PP_Instance instance, | 49 virtual PP_Resource CreateFileSystem(PP_Instance instance, |
50 PP_FileSystemType type) OVERRIDE; | 50 PP_FileSystemType type) OVERRIDE; |
51 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) OVERRIDE; | 51 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) OVERRIDE; |
| 52 virtual PP_Resource CreateFlashFontFile( |
| 53 PP_Instance instance, |
| 54 const PP_FontDescription_Dev* description, |
| 55 PP_PrivateFontCharset charset) OVERRIDE; |
52 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 56 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
53 const PP_Flash_Menu* menu_data) OVERRIDE; | 57 const PP_Flash_Menu* menu_data) OVERRIDE; |
54 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; | 58 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; |
55 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, | 59 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, |
56 const PP_Size& size, | 60 const PP_Size& size, |
57 PP_Bool is_always_opaque) OVERRIDE; | 61 PP_Bool is_always_opaque) OVERRIDE; |
58 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 62 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
59 PP_Resource share_context, | 63 PP_Resource share_context, |
60 const int32_t* attrib_list) OVERRIDE; | 64 const int32_t* attrib_list) OVERRIDE; |
61 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, | 65 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 PP_Instance instance) OVERRIDE; | 136 PP_Instance instance) OVERRIDE; |
133 | 137 |
134 private: | 138 private: |
135 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 139 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
136 }; | 140 }; |
137 | 141 |
138 } // namespace ppapi | 142 } // namespace ppapi |
139 } // namespace webkit | 143 } // namespace webkit |
140 | 144 |
141 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 145 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |