Lines Matching defs:Resource
5 #include "ppapi/shared_impl/resource.h"
13 Resource::Resource(ResourceObjectType type, PP_Instance instance)
20 // For the in-process case, the host resource and resource are the same.
24 // goes through the host resource. When we get the "real" resource ID,
30 Resource::Resource(ResourceObjectType type, const HostResource& host_resource)
34 // When using this constructor for the implementation, the resource ID
43 Resource::Resource(Untracked) {
47 Resource::~Resource() {
51 PP_Resource Resource::GetReference() {
56 void Resource::NotifyLastPluginRefWasDeleted() {
61 void Resource::NotifyInstanceWasDeleted() {
64 scoped_refptr<Resource> keep_alive(this);
72 void Resource::OnReplyReceived(const proxy::ResourceMessageReplyParams& params,
77 void Resource::Log(PP_LogLevel level, const std::string& message) {
82 void Resource::RemoveFromResourceTracker() {
86 #define DEFINE_TYPE_GETTER(RESOURCE) \
87 thunk::RESOURCE* Resource::As##RESOURCE() { return NULL; }