| 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" |
| 11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
| 12 #include "ppapi/c/pp_instance.h" | 12 #include "ppapi/c/pp_instance.h" |
| 13 #include "ppapi/c/pp_resource.h" | 13 #include "ppapi/c/pp_resource.h" |
| 14 #include "ppapi/c/ppb_audio.h" | 14 #include "ppapi/c/ppb_audio.h" |
| 15 #include "ppapi/c/ppb_audio_config.h" | 15 #include "ppapi/c/ppb_audio_config.h" |
| 16 #include "ppapi/c/ppb_file_system.h" | 16 #include "ppapi/c/ppb_file_system.h" |
| 17 #include "ppapi/c/ppb_graphics_3d.h" | 17 #include "ppapi/c/ppb_graphics_3d.h" |
| 18 #include "ppapi/c/ppb_image_data.h" | 18 #include "ppapi/c/ppb_image_data.h" |
| 19 #include "ppapi/c/ppb_input_event.h" | 19 #include "ppapi/c/ppb_input_event.h" |
| 20 #include "ppapi/c/ppb_websocket.h" | 20 #include "ppapi/c/ppb_websocket.h" |
| 21 #include "ppapi/c/dev/pp_video_dev.h" | 21 #include "ppapi/c/dev/pp_video_dev.h" |
| 22 #include "ppapi/c/dev/ppb_transport_dev.h" | 22 #include "ppapi/c/dev/ppb_transport_dev.h" |
| 23 #include "ppapi/c/private/ppb_network_monitor_private.h" |
| 23 #include "ppapi/shared_impl/api_id.h" | 24 #include "ppapi/shared_impl/api_id.h" |
| 24 | 25 |
| 25 struct PP_Flash_Menu; | 26 struct PP_Flash_Menu; |
| 26 struct PP_BrowserFont_Trusted_Description; | 27 struct PP_BrowserFont_Trusted_Description; |
| 27 struct PP_Size; | 28 struct PP_Size; |
| 28 | 29 |
| 29 namespace ppapi { | 30 namespace ppapi { |
| 30 | 31 |
| 31 struct PPB_URLRequestInfo_Data; | 32 struct PPB_URLRequestInfo_Data; |
| 32 | 33 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 struct PP_Var character_text) = 0; | 97 struct PP_Var character_text) = 0; |
| 97 virtual PP_Resource CreateMouseInputEvent( | 98 virtual PP_Resource CreateMouseInputEvent( |
| 98 PP_Instance instance, | 99 PP_Instance instance, |
| 99 PP_InputEvent_Type type, | 100 PP_InputEvent_Type type, |
| 100 PP_TimeTicks time_stamp, | 101 PP_TimeTicks time_stamp, |
| 101 uint32_t modifiers, | 102 uint32_t modifiers, |
| 102 PP_InputEvent_MouseButton mouse_button, | 103 PP_InputEvent_MouseButton mouse_button, |
| 103 const PP_Point* mouse_position, | 104 const PP_Point* mouse_position, |
| 104 int32_t click_count, | 105 int32_t click_count, |
| 105 const PP_Point* mouse_movement) = 0; | 106 const PP_Point* mouse_movement) = 0; |
| 107 virtual PP_Resource CreateNetworkMonitor( |
| 108 PP_Instance instance, |
| 109 PPB_NetworkMonitor_Callback callback, |
| 110 void* user_data) = 0; |
| 106 virtual PP_Resource CreateResourceArray(PP_Instance instance, | 111 virtual PP_Resource CreateResourceArray(PP_Instance instance, |
| 107 const PP_Resource elements[], | 112 const PP_Resource elements[], |
| 108 uint32_t size) = 0; | 113 uint32_t size) = 0; |
| 109 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 114 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
| 110 PP_Bool vertical) = 0; | 115 PP_Bool vertical) = 0; |
| 111 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; | 116 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; |
| 112 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; | 117 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; |
| 113 virtual PP_Resource CreateTransport(PP_Instance instance, | 118 virtual PP_Resource CreateTransport(PP_Instance instance, |
| 114 const char* name, | 119 const char* name, |
| 115 PP_TransportType type) = 0; | 120 PP_TransportType type) = 0; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 134 const PP_FloatPoint* wheel_ticks, | 139 const PP_FloatPoint* wheel_ticks, |
| 135 PP_Bool scroll_by_page) = 0; | 140 PP_Bool scroll_by_page) = 0; |
| 136 | 141 |
| 137 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 142 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
| 138 }; | 143 }; |
| 139 | 144 |
| 140 } // namespace thunk | 145 } // namespace thunk |
| 141 } // namespace ppapi | 146 } // namespace ppapi |
| 142 | 147 |
| 143 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 148 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| OLD | NEW |