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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 CreateGraphics3D(PP_Instance instance, | 54 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
55 PP_Resource share_context, | 55 PP_Resource share_context, |
56 const int32_t* attrib_list) OVERRIDE; | 56 const int32_t* attrib_list) OVERRIDE; |
57 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, | 57 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, |
58 PP_Resource share_context, | 58 PP_Resource share_context, |
59 const int32_t* attrib_list) OVERRIDE; | 59 const int32_t* attrib_list) OVERRIDE; |
60 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE; | 60 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) OVERRIDE; |
61 virtual PP_Resource CreateImageData(PP_Instance instance, | 61 virtual PP_Resource CreateImageDataPlatform(PP_Instance instance, |
62 PP_ImageDataFormat format, | 62 PP_ImageDataFormat format, |
63 const PP_Size* size, | 63 const PP_Size* size, |
64 PP_Bool init_to_zero) OVERRIDE; | 64 PP_Bool init_to_zero) OVERRIDE; |
65 virtual PP_Resource CreateImageDataNaCl(PP_Instance instance, | 65 virtual PP_Resource CreateImageDataSimple(PP_Instance instance, |
66 PP_ImageDataFormat format, | 66 PP_ImageDataFormat format, |
67 const PP_Size* size, | 67 const PP_Size* size, |
68 PP_Bool init_to_zero) OVERRIDE; | 68 PP_Bool init_to_zero) OVERRIDE; |
69 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance, | 69 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance, |
70 PP_InputEvent_Type type, | 70 PP_InputEvent_Type type, |
71 PP_TimeTicks time_stamp, | 71 PP_TimeTicks time_stamp, |
72 struct PP_Var text, | 72 struct PP_Var text, |
73 uint32_t segment_number, | 73 uint32_t segment_number, |
74 const uint32_t* segment_offsets, | 74 const uint32_t* segment_offsets, |
75 int32_t target_segment, | 75 int32_t target_segment, |
76 uint32_t selection_start, | 76 uint32_t selection_start, |
77 uint32_t selection_end) OVERRIDE; | 77 uint32_t selection_end) OVERRIDE; |
78 virtual PP_Resource CreateIsolatedFileSystem(PP_Instance instance, | 78 virtual PP_Resource CreateIsolatedFileSystem(PP_Instance instance, |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 PP_Instance instance) OVERRIDE; | 132 PP_Instance instance) OVERRIDE; |
133 | 133 |
134 private: | 134 private: |
135 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 135 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
136 }; | 136 }; |
137 | 137 |
138 } // namespace ppapi | 138 } // namespace ppapi |
139 } // namespace webkit | 139 } // namespace webkit |
140 | 140 |
141 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 141 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |