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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
49 virtual PP_Resource CreateFileRef(PP_Resource file_system, | 49 virtual PP_Resource CreateFileRef(PP_Resource file_system, |
50 const char* path) OVERRIDE; | 50 const char* path) OVERRIDE; |
51 virtual PP_Resource CreateFileSystem(PP_Instance instance, | 51 virtual PP_Resource CreateFileSystem(PP_Instance instance, |
52 PP_FileSystemType type) OVERRIDE; | 52 PP_FileSystemType type) OVERRIDE; |
53 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 53 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
54 const PP_Flash_Menu* menu_data) OVERRIDE; | 54 const PP_Flash_Menu* menu_data) OVERRIDE; |
55 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; | 55 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; |
56 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, | 56 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, |
57 const PP_Size& size, | 57 const PP_Size& size, |
58 PP_Bool is_always_opaque) OVERRIDE; | 58 PP_Bool is_always_opaque) OVERRIDE; |
59 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 59 virtual PP_Resource CreateGraphics3D( |
60 PP_Resource share_context, | 60 PP_Instance instance, |
Fady Samuel
2012/05/28 14:11:45
Hmm, it looks like the signature is the same. What
| |
61 const int32_t* attrib_list) OVERRIDE; | 61 PP_Resource share_context, |
62 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, | 62 const int32_t* attrib_list) OVERRIDE; |
63 PP_Resource share_context, | 63 virtual PP_Resource CreateGraphics3DRaw( |
64 const int32_t* attrib_list) OVERRIDE; | 64 PP_Instance instance, |
65 PP_Resource share_context, | |
66 const int32_t* attrib_list) OVERRIDE; | |
65 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE; | 67 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE; |
66 virtual PP_Resource CreateImageData(PP_Instance instance, | 68 virtual PP_Resource CreateImageData(PP_Instance instance, |
67 PP_ImageDataFormat format, | 69 PP_ImageDataFormat format, |
68 const PP_Size& size, | 70 const PP_Size& size, |
69 PP_Bool init_to_zero) OVERRIDE; | 71 PP_Bool init_to_zero) OVERRIDE; |
70 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance, | 72 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance, |
71 PP_InputEvent_Type type, | 73 PP_InputEvent_Type type, |
72 PP_TimeTicks time_stamp, | 74 PP_TimeTicks time_stamp, |
73 struct PP_Var text, | 75 struct PP_Var text, |
74 uint32_t segment_number, | 76 uint32_t segment_number, |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
133 PP_Instance instance) OVERRIDE; | 135 PP_Instance instance) OVERRIDE; |
134 | 136 |
135 private: | 137 private: |
136 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 138 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
137 }; | 139 }; |
138 | 140 |
139 } // namespace ppapi | 141 } // namespace ppapi |
140 } // namespace webkit | 142 } // namespace webkit |
141 | 143 |
142 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 144 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |