Searched defs:pp_resource (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/content/browser/renderer_host/pepper/
H A Dpepper_file_system_browser_host_unittest.cc13 #include "ppapi/c/pp_resource.h"
26 PP_Resource pp_resource = 67890; variable
29 pp_resource,
H A Dpepper_printing_host_unittest.cc68 PP_Resource pp_resource = 67890; local
83 pp_resource,
87 ppapi::proxy::ResourceMessageCallParams call_params(pp_resource, 1);
H A Dpepper_gamepad_host_unittest.cc132 PP_Resource pp_resource = 67890; local
134 gamepad_service(), GetBrowserPpapiHost(), pp_instance, pp_resource); local
138 ppapi::proxy::ResourceMessageCallParams(pp_resource, 1));
/external/chromium_org/content/renderer/pepper/
H A Dhost_resource_var.cc11 HostResourceVar::HostResourceVar(PP_Resource pp_resource) argument
12 : pp_resource_(pp_resource),
H A Dpepper_file_chooser_host_unittest.cc70 PP_Resource pp_resource = 123; local
73 PepperFileChooserHost chooser(&host, pp_instance(), pp_resource);
82 ppapi::proxy::ResourceMessageCallParams call_params(pp_resource, 0);
133 PP_Resource pp_resource = 123; local
136 PepperFileChooserHost chooser(&host, pp_instance(), pp_resource);
145 ppapi::proxy::ResourceMessageCallParams call_params(pp_resource, 0);
H A Dhost_var_tracker.cc106 ppapi::ResourceVar* HostVarTracker::MakeResourceVar(PP_Resource pp_resource) { argument
107 return new HostResourceVar(pp_resource);
/external/chromium_org/ppapi/cpp/
H A Dresource.h8 #include "ppapi/c/pp_resource.h"
47 PP_Resource pp_resource() const { return pp_resource_; } function in class:pp::Resource
98 return lhs.pp_resource() == rhs.pp_resource();
/external/chromium_org/ppapi/host/
H A Dresource_host.h12 #include "ppapi/c/pp_resource.h"
38 PP_Resource pp_resource() const { return pp_resource_; } function in class:ppapi::host::ResourceHost
52 void SetPPResourceForPendingHost(PP_Resource pp_resource);
H A Dresource_host.cc40 void ResourceHost::SetPPResourceForPendingHost(PP_Resource pp_resource) { argument
42 pp_resource_ = pp_resource;
H A Dppapi_host.cc142 if (!resource_host.get() || resource_host->pp_resource() != 0) {
208 ResourceHost* resource_host = GetResourceHost(params.pp_resource());
244 DCHECK(resource_host->pp_resource());
246 resources_[params.pp_resource()] =
250 void PpapiHost::OnHostMsgAttachToPendingHost(PP_Resource pp_resource, argument
259 found->second->SetPPResourceForPendingHost(pp_resource);
260 resources_[pp_resource] = found->second;
/external/chromium_org/ppapi/shared_impl/
H A Dresource_tracker_unittest.cc62 PP_Resource pp_resource = resource->GetReference(); local
63 EXPECT_TRUE(resource_tracker().GetResource(pp_resource));
67 resource_tracker().ReleaseResource(pp_resource);
73 EXPECT_FALSE(resource_tracker().GetResource(pp_resource));
H A Dresource.h15 #include "ppapi/c/pp_resource.h"
161 PP_Resource pp_resource() const { return pp_resource_; } function in class:ppapi::Resource
171 // See also pp_resource() to avoid the AddRef.
H A Dresource_tracker.cc215 PP_Resource pp_resource = object->pp_resource(); local
218 found->second->resources.erase(pp_resource);
219 live_resources_.erase(pp_resource);
240 callback_tracker->PostAbortForResource(object->pp_resource());
H A Dvar_tracker.cc231 PP_Var VarTracker::MakeResourcePPVar(PP_Resource pp_resource) { argument
234 ResourceVar* resource_var = MakeResourceVar(pp_resource);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dpepper_interface.h13 #include <ppapi/c/pp_resource.h>
140 PP_Resource pp_resource() const { return resource_; } function in class:nacl_io::ScopedResource
/external/chromium_org/ppapi/proxy/
H A Dresource_message_params.h12 #include "ppapi/c/pp_resource.h"
24 PP_Resource pp_resource() const { return pp_resource_; } function in class:ppapi::proxy::ResourceMessageParams
H A Dnacl_message_scanner.cc31 ScanningResults() : handle_index(0), pp_resource(0) {}
45 PP_Resource pp_resource; member in struct:__anon10106::ScanningResults
98 results->pp_resource = params.pp_resource();
130 if (results->pp_resource && !results->nested_msg_callback.is_null()) {
134 results->nested_msg_callback.Run(results->pp_resource, param, handle);
360 FileIOMap::iterator it = files_.find(params.pp_resource());
385 FileIOMap::iterator it = files_.find(params.pp_resource());
H A Dplugin_var_tracker.cc191 PP_Resource pp_resource = local
197 return MakeResourcePPVar(pp_resource);
210 PP_Resource pp_resource = local
215 return MakeResourcePPVar(pp_resource);
228 PP_Resource pp_resource = local
233 return MakeResourcePPVar(pp_resource);
243 ResourceVar* PluginVarTracker::MakeResourceVar(PP_Resource pp_resource) { argument
245 if (!pp_resource)
249 ppapi::Resource* resource = resource_tracker->GetResource(pp_resource);
H A Dppb_image_data_proxy.cc18 #include "ppapi/c/pp_resource.h"
569 PP_Resource pp_resource = 0; local
572 pp_resource = enter.functions()->CreateImageDataSimple(
577 pp_resource = enter.functions()->CreateImageData(
583 if (!pp_resource)
587 pp_resource);
H A Dppb_instance_proxy.cc228 PP_Resource pp_resource = 0; local
238 pp_resource = resource->host_resource().host_resource();
241 pp_resource = resource->pp_resource();
248 API_ID_PPB_INSTANCE, instance, pp_resource));
/external/chromium_org/ppapi/thunk/
H A Denter.cc198 void EnterBase::SetStateForResourceError(PP_Resource pp_resource, argument
222 // We choose to silently ignore the error when the pp_resource is null
225 if (report_error && pp_resource) {
230 pp_resource);
234 pp_resource);

Completed in 394 milliseconds