| 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_file_chooser_dev.h" | 8 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
| 9 #include "ppapi/c/pp_bool.h" | 9 #include "ppapi/c/pp_bool.h" |
| 10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 virtual PP_Resource CreateTouchInputEvent( | 76 virtual PP_Resource CreateTouchInputEvent( |
| 77 PP_Instance instance, | 77 PP_Instance instance, |
| 78 PP_InputEvent_Type type, | 78 PP_InputEvent_Type type, |
| 79 PP_TimeTicks time_stamp, | 79 PP_TimeTicks time_stamp, |
| 80 uint32_t modifiers) = 0; | 80 uint32_t modifiers) = 0; |
| 81 virtual PP_Resource CreateResourceArray(PP_Instance instance, | 81 virtual PP_Resource CreateResourceArray(PP_Instance instance, |
| 82 const PP_Resource elements[], | 82 const PP_Resource elements[], |
| 83 uint32_t size) = 0; | 83 uint32_t size) = 0; |
| 84 virtual PP_Resource CreateTrueTypeFont( | 84 virtual PP_Resource CreateTrueTypeFont( |
| 85 PP_Instance instance, | 85 PP_Instance instance, |
| 86 const PP_TrueTypeFontDesc_Dev& desc) = 0; | 86 const PP_TrueTypeFontDesc_Dev* desc) = 0; |
| 87 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; | 87 virtual PP_Resource CreateURLLoader(PP_Instance instance) = 0; |
| 88 virtual PP_Resource CreateURLRequestInfo( | 88 virtual PP_Resource CreateURLRequestInfo( |
| 89 PP_Instance instance) = 0; | 89 PP_Instance instance) = 0; |
| 90 | 90 |
| 91 // Passes a reference to the file_ref_resource, which is a process-local | 91 // Passes a reference to the file_ref_resource, which is a process-local |
| 92 // resource corresponding to the body_as_file_ref host resource in |data|, | 92 // resource corresponding to the body_as_file_ref host resource in |data|, |
| 93 // if there is one. | 93 // if there is one. |
| 94 virtual PP_Resource CreateURLResponseInfo( | 94 virtual PP_Resource CreateURLResponseInfo( |
| 95 PP_Instance instance, | 95 PP_Instance instance, |
| 96 const URLResponseInfoData& data, | 96 const URLResponseInfoData& data, |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 PP_VideoDecoder_Profile profile) = 0; | 171 PP_VideoDecoder_Profile profile) = 0; |
| 172 #endif // !defined(OS_NACL) | 172 #endif // !defined(OS_NACL) |
| 173 | 173 |
| 174 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 174 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
| 175 }; | 175 }; |
| 176 | 176 |
| 177 } // namespace thunk | 177 } // namespace thunk |
| 178 } // namespace ppapi | 178 } // namespace ppapi |
| 179 | 179 |
| 180 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 180 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| OLD | NEW |