OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_file_chooser_dev.h" | 8 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
9 #include "ppapi/c/dev/ppb_video_layer_dev.h" | 9 #include "ppapi/c/dev/ppb_video_layer_dev.h" |
10 #include "ppapi/c/pp_bool.h" | 10 #include "ppapi/c/pp_bool.h" |
11 #include "ppapi/c/pp_instance.h" | 11 #include "ppapi/c/pp_instance.h" |
12 #include "ppapi/c/pp_resource.h" | 12 #include "ppapi/c/pp_resource.h" |
13 #include "ppapi/c/ppb_audio.h" | 13 #include "ppapi/c/ppb_audio.h" |
14 #include "ppapi/c/ppb_audio_config.h" | 14 #include "ppapi/c/ppb_audio_config.h" |
15 #include "ppapi/c/ppb_file_system.h" | 15 #include "ppapi/c/ppb_file_system.h" |
16 #include "ppapi/c/ppb_graphics_3d.h" | 16 #include "ppapi/c/ppb_graphics_3d.h" |
17 #include "ppapi/c/ppb_image_data.h" | 17 #include "ppapi/c/ppb_image_data.h" |
18 #include "ppapi/c/ppb_input_event.h" | 18 #include "ppapi/c/ppb_input_event.h" |
19 #include "ppapi/c/dev/pp_video_dev.h" | 19 #include "ppapi/c/dev/pp_video_dev.h" |
20 #include "ppapi/c/dev/ppb_transport_dev.h" | 20 #include "ppapi/c/dev/ppb_transport_dev.h" |
21 #include "ppapi/proxy/interface_id.h" | 21 #include "ppapi/shared_impl/api_id.h" |
22 | 22 |
23 struct PP_Flash_Menu; | 23 struct PP_Flash_Menu; |
24 struct PP_FontDescription_Dev; | 24 struct PP_FontDescription_Dev; |
25 struct PP_VideoCaptureDeviceInfo_Dev; | 25 struct PP_VideoCaptureDeviceInfo_Dev; |
26 struct PP_Size; | 26 struct PP_Size; |
27 | 27 |
28 namespace ppapi { | 28 namespace ppapi { |
29 | 29 |
30 struct PPB_URLRequestInfo_Data; | 30 struct PPB_URLRequestInfo_Data; |
31 | 31 |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 virtual PP_Resource CreateVideoLayer(PP_Instance instance, | 126 virtual PP_Resource CreateVideoLayer(PP_Instance instance, |
127 PP_VideoLayerMode_Dev mode) = 0; | 127 PP_VideoLayerMode_Dev mode) = 0; |
128 virtual PP_Resource CreateWheelInputEvent( | 128 virtual PP_Resource CreateWheelInputEvent( |
129 PP_Instance instance, | 129 PP_Instance instance, |
130 PP_TimeTicks time_stamp, | 130 PP_TimeTicks time_stamp, |
131 uint32_t modifiers, | 131 uint32_t modifiers, |
132 const PP_FloatPoint* wheel_delta, | 132 const PP_FloatPoint* wheel_delta, |
133 const PP_FloatPoint* wheel_ticks, | 133 const PP_FloatPoint* wheel_ticks, |
134 PP_Bool scroll_by_page) = 0; | 134 PP_Bool scroll_by_page) = 0; |
135 | 135 |
136 static const proxy::InterfaceID interface_id = | 136 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
137 proxy::INTERFACE_ID_RESOURCE_CREATION; | |
138 }; | 137 }; |
139 | 138 |
140 } // namespace thunk | 139 } // namespace thunk |
141 } // namespace ppapi | 140 } // namespace ppapi |
142 | 141 |
143 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 142 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
OLD | NEW |