| OLD | NEW |
| 1 // Copyright (c) 2011 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" |
| 11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 struct PP_Var character_text) = 0; | 96 struct PP_Var character_text) = 0; |
| 97 virtual PP_Resource CreateMouseInputEvent( | 97 virtual PP_Resource CreateMouseInputEvent( |
| 98 PP_Instance instance, | 98 PP_Instance instance, |
| 99 PP_InputEvent_Type type, | 99 PP_InputEvent_Type type, |
| 100 PP_TimeTicks time_stamp, | 100 PP_TimeTicks time_stamp, |
| 101 uint32_t modifiers, | 101 uint32_t modifiers, |
| 102 PP_InputEvent_MouseButton mouse_button, | 102 PP_InputEvent_MouseButton mouse_button, |
| 103 const PP_Point* mouse_position, | 103 const PP_Point* mouse_position, |
| 104 int32_t click_count, | 104 int32_t click_count, |
| 105 const PP_Point* mouse_movement) = 0; | 105 const PP_Point* mouse_movement) = 0; |
| 106 virtual PP_Resource CreateResourceArray(PP_Instance instance, |
| 107 const PP_Resource elements[], |
| 108 uint32_t size) = 0; |
| 106 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 109 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
| 107 PP_Bool vertical) = 0; | 110 PP_Bool vertical) = 0; |
| 108 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; | 111 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; |
| 109 virtual PP_Resource CreateTransport(PP_Instance instance, | 112 virtual PP_Resource CreateTransport(PP_Instance instance, |
| 110 const char* name, | 113 const char* name, |
| 111 PP_TransportType type) = 0; | 114 PP_TransportType type) = 0; |
| 112 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; | 115 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; |
| 113 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; | 116 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; |
| 114 virtual PP_Resource CreateURLRequestInfo( | 117 virtual PP_Resource CreateURLRequestInfo( |
| 115 PP_Instance instance, | 118 PP_Instance instance, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 130 const PP_FloatPoint* wheel_ticks, | 133 const PP_FloatPoint* wheel_ticks, |
| 131 PP_Bool scroll_by_page) = 0; | 134 PP_Bool scroll_by_page) = 0; |
| 132 | 135 |
| 133 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 136 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
| 134 }; | 137 }; |
| 135 | 138 |
| 136 } // namespace thunk | 139 } // namespace thunk |
| 137 } // namespace ppapi | 140 } // namespace ppapi |
| 138 | 141 |
| 139 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 142 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| OLD | NEW |