diff options
Diffstat (limited to 'ppapi/thunk/resource_creation_api.h')
-rw-r--r-- | ppapi/thunk/resource_creation_api.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ppapi/thunk/resource_creation_api.h b/ppapi/thunk/resource_creation_api.h index 4c20559..cd0505c 100644 --- a/ppapi/thunk/resource_creation_api.h +++ b/ppapi/thunk/resource_creation_api.h @@ -29,6 +29,7 @@ struct PP_Size; namespace ppapi { struct URLRequestInfoData; +struct URLResponseInfoData; namespace thunk { @@ -83,6 +84,15 @@ class ResourceCreationAPI { virtual PP_Resource CreateURLRequestInfo( PP_Instance instance, const URLRequestInfoData& data) = 0; + + // Passes a reference to the file_ref_resource, which is a process-local + // resource corresponding to the body_as_file_ref host resource in |data|, + // if there is one. + virtual PP_Resource CreateURLResponseInfo( + PP_Instance instance, + const URLResponseInfoData& data, + PP_Resource file_ref_resource) = 0; + virtual PP_Resource CreateWheelInputEvent( PP_Instance instance, PP_TimeTicks time_stamp, |