| 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/ppb_audio_input_dev.h" | 8 #include "ppapi/c/dev/ppb_audio_input_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_video_layer_dev.h" | 10 #include "ppapi/c/dev/ppb_video_layer_dev.h" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 struct PP_Var character_text) = 0; | 64 struct PP_Var character_text) = 0; |
| 65 virtual PP_Resource CreateMouseInputEvent( | 65 virtual PP_Resource CreateMouseInputEvent( |
| 66 PP_Instance instance, | 66 PP_Instance instance, |
| 67 PP_InputEvent_Type type, | 67 PP_InputEvent_Type type, |
| 68 PP_TimeTicks time_stamp, | 68 PP_TimeTicks time_stamp, |
| 69 uint32_t modifiers, | 69 uint32_t modifiers, |
| 70 PP_InputEvent_MouseButton mouse_button, | 70 PP_InputEvent_MouseButton mouse_button, |
| 71 const PP_Point* mouse_position, | 71 const PP_Point* mouse_position, |
| 72 int32_t click_count, | 72 int32_t click_count, |
| 73 const PP_Point* mouse_movement) = 0; | 73 const PP_Point* mouse_movement) = 0; |
| 74 virtual PP_Resource CreateTouchInputEvent( |
| 75 PP_Instance instance, |
| 76 PP_InputEvent_Type type, |
| 77 PP_TimeTicks time_stamp, |
| 78 uint32_t modifiers) = 0; |
| 74 virtual PP_Resource CreateResourceArray(PP_Instance instance, | 79 virtual PP_Resource CreateResourceArray(PP_Instance instance, |
| 75 const PP_Resource elements[], | 80 const PP_Resource elements[], |
| 76 uint32_t size) = 0; | 81 uint32_t size) = 0; |
| 77 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; | 82 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; |
| 78 virtual PP_Resource CreateURLRequestInfo( | 83 virtual PP_Resource CreateURLRequestInfo( |
| 79 PP_Instance instance, | 84 PP_Instance instance, |
| 80 const PPB_URLRequestInfo_Data& data) = 0; | 85 const PPB_URLRequestInfo_Data& data) = 0; |
| 81 virtual PP_Resource CreateWheelInputEvent( | 86 virtual PP_Resource CreateWheelInputEvent( |
| 82 PP_Instance instance, | 87 PP_Instance instance, |
| 83 PP_TimeTicks time_stamp, | 88 PP_TimeTicks time_stamp, |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; | 155 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; |
| 151 #endif // !defined(OS_NACL) | 156 #endif // !defined(OS_NACL) |
| 152 | 157 |
| 153 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 158 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
| 154 }; | 159 }; |
| 155 | 160 |
| 156 } // namespace thunk | 161 } // namespace thunk |
| 157 } // namespace ppapi | 162 } // namespace ppapi |
| 158 | 163 |
| 159 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 164 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| OLD | NEW |