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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 struct PP_Var character_text) = 0; | 93 struct PP_Var character_text) = 0; |
94 virtual PP_Resource CreateMouseInputEvent( | 94 virtual PP_Resource CreateMouseInputEvent( |
95 PP_Instance instance, | 95 PP_Instance instance, |
96 PP_InputEvent_Type type, | 96 PP_InputEvent_Type type, |
97 PP_TimeTicks time_stamp, | 97 PP_TimeTicks time_stamp, |
98 uint32_t modifiers, | 98 uint32_t modifiers, |
99 PP_InputEvent_MouseButton mouse_button, | 99 PP_InputEvent_MouseButton mouse_button, |
100 const PP_Point* mouse_position, | 100 const PP_Point* mouse_position, |
101 int32_t click_count) = 0; | 101 int32_t click_count) = 0; |
102 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 102 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
| 103 PP_Resource scrollbar_group, |
103 PP_Bool vertical) = 0; | 104 PP_Bool vertical) = 0; |
| 105 virtual PP_Resource CreateScrollbarGroup(PP_Instance instance) = 0; |
104 virtual PP_Resource CreateSurface3D(PP_Instance instance, | 106 virtual PP_Resource CreateSurface3D(PP_Instance instance, |
105 PP_Config3D_Dev config, | 107 PP_Config3D_Dev config, |
106 const int32_t* attrib_list) = 0; | 108 const int32_t* attrib_list) = 0; |
107 virtual PP_Resource CreateTransport(PP_Instance instance, | 109 virtual PP_Resource CreateTransport(PP_Instance instance, |
108 const char* name, | 110 const char* name, |
109 const char* proto) = 0; | 111 const char* proto) = 0; |
110 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; | 112 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; |
111 virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) = 0; | 113 virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) = 0; |
112 virtual PP_Resource CreateVideoDecoder( | 114 virtual PP_Resource CreateVideoDecoder( |
113 PP_Instance instance, | 115 PP_Instance instance, |
(...skipping 10 matching lines...) Expand all Loading... |
124 PP_Bool scroll_by_page) = 0; | 126 PP_Bool scroll_by_page) = 0; |
125 | 127 |
126 static const ::pp::proxy::InterfaceID interface_id = | 128 static const ::pp::proxy::InterfaceID interface_id = |
127 ::pp::proxy::INTERFACE_ID_RESOURCE_CREATION; | 129 ::pp::proxy::INTERFACE_ID_RESOURCE_CREATION; |
128 }; | 130 }; |
129 | 131 |
130 } // namespace thunk | 132 } // namespace thunk |
131 } // namespace ppapi | 133 } // namespace ppapi |
132 | 134 |
133 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 135 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
OLD | NEW |