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_graphics_3d_dev.h" | 9 #include "ppapi/c/dev/ppb_graphics_3d_dev.h" |
10 #include "ppapi/c/dev/ppb_video_layer_dev.h" | 10 #include "ppapi/c/dev/ppb_video_layer_dev.h" |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 const char* name, | 111 const char* name, |
112 const char* proto) = 0; | 112 const char* proto) = 0; |
113 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; | 113 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; |
114 virtual PP_Resource CreateURLRequestInfo( | 114 virtual PP_Resource CreateURLRequestInfo( |
115 PP_Instance instance, | 115 PP_Instance instance, |
116 const PPB_URLRequestInfo_Data& data) = 0; | 116 const PPB_URLRequestInfo_Data& data) = 0; |
117 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; | 117 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; |
118 virtual PP_Resource CreateVideoDecoder( | 118 virtual PP_Resource CreateVideoDecoder( |
119 PP_Instance instance, | 119 PP_Instance instance, |
120 PP_Resource context3d_id, | 120 PP_Resource context3d_id, |
121 const PP_VideoConfigElement* config) = 0; | 121 PP_VideoDecoder_Profile profile) = 0; |
122 virtual PP_Resource CreateVideoLayer(PP_Instance instance, | 122 virtual PP_Resource CreateVideoLayer(PP_Instance instance, |
123 PP_VideoLayerMode_Dev mode) = 0; | 123 PP_VideoLayerMode_Dev mode) = 0; |
124 virtual PP_Resource CreateWheelInputEvent( | 124 virtual PP_Resource CreateWheelInputEvent( |
125 PP_Instance instance, | 125 PP_Instance instance, |
126 PP_TimeTicks time_stamp, | 126 PP_TimeTicks time_stamp, |
127 uint32_t modifiers, | 127 uint32_t modifiers, |
128 const PP_FloatPoint* wheel_delta, | 128 const PP_FloatPoint* wheel_delta, |
129 const PP_FloatPoint* wheel_ticks, | 129 const PP_FloatPoint* wheel_ticks, |
130 PP_Bool scroll_by_page) = 0; | 130 PP_Bool scroll_by_page) = 0; |
131 | 131 |
132 static const proxy::InterfaceID interface_id = | 132 static const proxy::InterfaceID interface_id = |
133 proxy::INTERFACE_ID_RESOURCE_CREATION; | 133 proxy::INTERFACE_ID_RESOURCE_CREATION; |
134 }; | 134 }; |
135 | 135 |
136 } // namespace thunk | 136 } // namespace thunk |
137 } // namespace ppapi | 137 } // namespace ppapi |
138 | 138 |
139 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 139 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
OLD | NEW |