| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 102 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
| 103 PP_Bool vertical) = 0; | 103 PP_Bool vertical) = 0; |
| 104 virtual PP_Resource CreateSurface3D(PP_Instance instance, | 104 virtual PP_Resource CreateSurface3D(PP_Instance instance, |
| 105 PP_Config3D_Dev config, | 105 PP_Config3D_Dev config, |
| 106 const int32_t* attrib_list) = 0; | 106 const int32_t* attrib_list) = 0; |
| 107 virtual PP_Resource CreateTransport(PP_Instance instance, | 107 virtual PP_Resource CreateTransport(PP_Instance instance, |
| 108 const char* name, | 108 const char* name, |
| 109 const char* proto) = 0; | 109 const char* proto) = 0; |
| 110 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; | 110 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; |
| 111 virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) = 0; | 111 virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) = 0; |
| 112 virtual PP_Resource CreateVideoDecoder(PP_Instance instance) = 0; | 112 virtual PP_Resource CreateVideoDecoder( |
| 113 PP_Instance instance, |
| 114 PP_Resource context3d_id, |
| 115 const PP_VideoConfigElement* config) = 0; |
| 113 virtual PP_Resource CreateVideoLayer(PP_Instance instance, | 116 virtual PP_Resource CreateVideoLayer(PP_Instance instance, |
| 114 PP_VideoLayerMode_Dev mode) = 0; | 117 PP_VideoLayerMode_Dev mode) = 0; |
| 115 virtual PP_Resource CreateWheelInputEvent( | 118 virtual PP_Resource CreateWheelInputEvent( |
| 116 PP_Instance instance, | 119 PP_Instance instance, |
| 117 PP_TimeTicks time_stamp, | 120 PP_TimeTicks time_stamp, |
| 118 uint32_t modifiers, | 121 uint32_t modifiers, |
| 119 const PP_FloatPoint* wheel_delta, | 122 const PP_FloatPoint* wheel_delta, |
| 120 const PP_FloatPoint* wheel_ticks, | 123 const PP_FloatPoint* wheel_ticks, |
| 121 PP_Bool scroll_by_page) = 0; | 124 PP_Bool scroll_by_page) = 0; |
| 122 | 125 |
| 123 static const ::pp::proxy::InterfaceID interface_id = | 126 static const ::pp::proxy::InterfaceID interface_id = |
| 124 ::pp::proxy::INTERFACE_ID_RESOURCE_CREATION; | 127 ::pp::proxy::INTERFACE_ID_RESOURCE_CREATION; |
| 125 }; | 128 }; |
| 126 | 129 |
| 127 } // namespace thunk | 130 } // namespace thunk |
| 128 } // namespace ppapi | 131 } // namespace ppapi |
| 129 | 132 |
| 130 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 133 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| OLD | NEW |