| 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" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0; | 77 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) = 0; |
| 78 virtual PP_Resource CreateGraphics2D(PP_Instance instance, | 78 virtual PP_Resource CreateGraphics2D(PP_Instance instance, |
| 79 const PP_Size& size, | 79 const PP_Size& size, |
| 80 PP_Bool is_always_opaque) = 0; | 80 PP_Bool is_always_opaque) = 0; |
| 81 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 81 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
| 82 PP_Resource share_context, | 82 PP_Resource share_context, |
| 83 const int32_t* attrib_list) = 0; | 83 const int32_t* attrib_list) = 0; |
| 84 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, | 84 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, |
| 85 PP_Resource share_context, | 85 PP_Resource share_context, |
| 86 const int32_t* attrib_list) = 0; | 86 const int32_t* attrib_list) = 0; |
| 87 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) = 0; |
| 87 virtual PP_Resource CreateImageData(PP_Instance instance, | 88 virtual PP_Resource CreateImageData(PP_Instance instance, |
| 88 PP_ImageDataFormat format, | 89 PP_ImageDataFormat format, |
| 89 const PP_Size& size, | 90 const PP_Size& size, |
| 90 PP_Bool init_to_zero) = 0; | 91 PP_Bool init_to_zero) = 0; |
| 91 virtual PP_Resource CreateKeyboardInputEvent( | 92 virtual PP_Resource CreateKeyboardInputEvent( |
| 92 PP_Instance instance, | 93 PP_Instance instance, |
| 93 PP_InputEvent_Type type, | 94 PP_InputEvent_Type type, |
| 94 PP_TimeTicks time_stamp, | 95 PP_TimeTicks time_stamp, |
| 95 uint32_t modifiers, | 96 uint32_t modifiers, |
| 96 uint32_t key_code, | 97 uint32_t key_code, |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 const PP_FloatPoint* wheel_ticks, | 140 const PP_FloatPoint* wheel_ticks, |
| 140 PP_Bool scroll_by_page) = 0; | 141 PP_Bool scroll_by_page) = 0; |
| 141 | 142 |
| 142 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 143 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
| 143 }; | 144 }; |
| 144 | 145 |
| 145 } // namespace thunk | 146 } // namespace thunk |
| 146 } // namespace ppapi | 147 } // namespace ppapi |
| 147 | 148 |
| 148 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 149 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| OLD | NEW |