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 PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 5 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
7 | 7 |
8 #include "ppapi/c/dev/pp_video_dev.h" | 8 #include "ppapi/c/dev/pp_video_dev.h" |
9 #include "ppapi/c/dev/ppb_file_chooser_dev.h" | 9 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
10 #include "ppapi/c/dev/ppb_truetype_font_dev.h" | 10 #include "ppapi/c/dev/ppb_truetype_font_dev.h" |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 uint32_t modifiers, | 77 uint32_t modifiers, |
78 PP_InputEvent_MouseButton mouse_button, | 78 PP_InputEvent_MouseButton mouse_button, |
79 const PP_Point* mouse_position, | 79 const PP_Point* mouse_position, |
80 int32_t click_count, | 80 int32_t click_count, |
81 const PP_Point* mouse_movement) = 0; | 81 const PP_Point* mouse_movement) = 0; |
82 virtual PP_Resource CreateTouchInputEvent( | 82 virtual PP_Resource CreateTouchInputEvent( |
83 PP_Instance instance, | 83 PP_Instance instance, |
84 PP_InputEvent_Type type, | 84 PP_InputEvent_Type type, |
85 PP_TimeTicks time_stamp, | 85 PP_TimeTicks time_stamp, |
86 uint32_t modifiers) = 0; | 86 uint32_t modifiers) = 0; |
87 virtual PP_Resource CreateResourceArray(PP_Instance instance, | |
88 const PP_Resource elements[], | |
89 uint32_t size) = 0; | |
90 virtual PP_Resource CreateTrueTypeFont( | 87 virtual PP_Resource CreateTrueTypeFont( |
91 PP_Instance instance, | 88 PP_Instance instance, |
92 const PP_TrueTypeFontDesc_Dev* desc) = 0; | 89 const PP_TrueTypeFontDesc_Dev* desc) = 0; |
93 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; | 90 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; |
94 virtual PP_Resource CreateURLRequestInfo( | 91 virtual PP_Resource CreateURLRequestInfo( |
95 PP_Instance instance) = 0; | 92 PP_Instance instance) = 0; |
96 | 93 |
97 virtual PP_Resource CreateWheelInputEvent( | 94 virtual PP_Resource CreateWheelInputEvent( |
98 PP_Instance instance, | 95 PP_Instance instance, |
99 PP_TimeTicks time_stamp, | 96 PP_TimeTicks time_stamp, |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 PP_VideoDecoder_Profile profile) = 0; | 182 PP_VideoDecoder_Profile profile) = 0; |
186 #endif // !defined(OS_NACL) | 183 #endif // !defined(OS_NACL) |
187 | 184 |
188 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 185 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
189 }; | 186 }; |
190 | 187 |
191 } // namespace thunk | 188 } // namespace thunk |
192 } // namespace ppapi | 189 } // namespace ppapi |
193 | 190 |
194 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 191 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
OLD | NEW |