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_PROXY_RESOURCE_CREATION_PROXY_H_ | 5 #ifndef PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; | 48 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; |
49 virtual PP_Resource CreateAudioInput( | 49 virtual PP_Resource CreateAudioInput( |
50 PP_Instance instance, | 50 PP_Instance instance, |
51 PP_Resource config_id, | 51 PP_Resource config_id, |
52 PPB_AudioInput_Callback audio_input_callback, | 52 PPB_AudioInput_Callback audio_input_callback, |
53 void* user_data) OVERRIDE; | 53 void* user_data) OVERRIDE; |
54 virtual PP_Resource CreateAudioInputTrusted(PP_Instance instance) OVERRIDE; | 54 virtual PP_Resource CreateAudioInputTrusted(PP_Instance instance) OVERRIDE; |
55 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; | 55 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; |
56 virtual PP_Resource CreateBuffer(PP_Instance instance, | 56 virtual PP_Resource CreateBuffer(PP_Instance instance, |
57 uint32_t size) OVERRIDE; | 57 uint32_t size) OVERRIDE; |
58 virtual PP_Resource CreateContext3D(PP_Instance instance, | |
59 PP_Config3D_Dev config, | |
60 PP_Resource share_context, | |
61 const int32_t* attrib_list) OVERRIDE; | |
62 virtual PP_Resource CreateContext3DRaw(PP_Instance instance, | |
63 PP_Config3D_Dev config, | |
64 PP_Resource share_context, | |
65 const int32_t* attrib_list) OVERRIDE; | |
66 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; | 58 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; |
67 virtual PP_Resource CreateFileChooser( | 59 virtual PP_Resource CreateFileChooser( |
68 PP_Instance instance, | 60 PP_Instance instance, |
69 PP_FileChooserMode_Dev mode, | 61 PP_FileChooserMode_Dev mode, |
70 const char* accept_mime_types) OVERRIDE; | 62 const char* accept_mime_types) OVERRIDE; |
71 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; | 63 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; |
72 virtual PP_Resource CreateFileRef(PP_Resource file_system, | 64 virtual PP_Resource CreateFileRef(PP_Resource file_system, |
73 const char* path) OVERRIDE; | 65 const char* path) OVERRIDE; |
74 virtual PP_Resource CreateFileSystem(PP_Instance instance, | 66 virtual PP_Resource CreateFileSystem(PP_Instance instance, |
75 PP_FileSystemType type) OVERRIDE; | 67 PP_FileSystemType type) OVERRIDE; |
(...skipping 27 matching lines...) Expand all Loading... |
103 PP_Instance instance, | 95 PP_Instance instance, |
104 PP_InputEvent_Type type, | 96 PP_InputEvent_Type type, |
105 PP_TimeTicks time_stamp, | 97 PP_TimeTicks time_stamp, |
106 uint32_t modifiers, | 98 uint32_t modifiers, |
107 PP_InputEvent_MouseButton mouse_button, | 99 PP_InputEvent_MouseButton mouse_button, |
108 const PP_Point* mouse_position, | 100 const PP_Point* mouse_position, |
109 int32_t click_count, | 101 int32_t click_count, |
110 const PP_Point* mouse_movement) OVERRIDE; | 102 const PP_Point* mouse_movement) OVERRIDE; |
111 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 103 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
112 PP_Bool vertical) OVERRIDE; | 104 PP_Bool vertical) OVERRIDE; |
113 virtual PP_Resource CreateSurface3D(PP_Instance instance, | |
114 PP_Config3D_Dev config, | |
115 const int32_t* attrib_list) OVERRIDE; | |
116 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; | 105 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; |
117 virtual PP_Resource CreateTransport(PP_Instance instance, | 106 virtual PP_Resource CreateTransport(PP_Instance instance, |
118 const char* name, | 107 const char* name, |
119 PP_TransportType type) OVERRIDE; | 108 PP_TransportType type) OVERRIDE; |
120 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; | 109 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; |
121 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; | 110 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; |
122 virtual PP_Resource CreateURLRequestInfo( | 111 virtual PP_Resource CreateURLRequestInfo( |
123 PP_Instance instance, | 112 PP_Instance instance, |
124 const PPB_URLRequestInfo_Data& data) OVERRIDE; | 113 const PPB_URLRequestInfo_Data& data) OVERRIDE; |
125 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; | 114 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 std::string* image_data_desc, | 150 std::string* image_data_desc, |
162 ImageHandle* result_image_handle); | 151 ImageHandle* result_image_handle); |
163 | 152 |
164 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 153 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
165 }; | 154 }; |
166 | 155 |
167 } // namespace proxy | 156 } // namespace proxy |
168 } // namespace ppapi | 157 } // namespace ppapi |
169 | 158 |
170 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 159 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
OLD | NEW |