OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NPObjectVar
(Results
1 - 11
of
11
) sorted by null
/external/chromium_org/content/renderer/pepper/
npobject_var.cc
17
//
NPObjectVar
-----------------------------------------------------------------
19
NPObjectVar
::
NPObjectVar
(PP_Instance instance, NPObject* np_object)
25
NPObjectVar
::~
NPObjectVar
() {
31
NPObjectVar
*
NPObjectVar
::AsNPObjectVar() { return this; }
33
PP_VarType
NPObjectVar
::GetType() const { return PP_VARTYPE_OBJECT; }
35
void
NPObjectVar
::InstanceDeleted() {
42
scoped_refptr<
NPObjectVar
> NPObjectVar::FromPPVar(PP_Var var)
[
all
...]
npobject_var.h
21
//
NPObjectVar
-----------------------------------------------------------------
26
// "window" object), then there will be different
NPObjectVar
's (and hence
30
class
NPObjectVar
: public Var {
32
// You should always use FromNPObject to create an
NPObjectVar
. This function
34
//
NPObjectVar
.
35
NPObjectVar
(PP_Instance instance, NPObject* np_object);
38
virtual
NPObjectVar
* AsNPObjectVar() OVERRIDE;
41
// Returns the underlying NPObject corresponding to this
NPObjectVar
.
54
CONTENT_EXPORT static scoped_refptr<
NPObjectVar
> FromPPVar(PP_Var var);
57
virtual ~
NPObjectVar
();
[
all
...]
host_var_tracker.h
26
class
NPObjectVar
;
39
// Tracks all live
NPObjectVar
. This is so we can map between instance +
40
// NPObject and get the
NPObjectVar
corresponding to it. This Add/Remove
41
// function is called by the
NPObjectVar
when it is created and
43
void AddNPObjectVar(ppapi::
NPObjectVar
* object_var);
44
void RemoveNPObjectVar(ppapi::
NPObjectVar
* object_var);
46
// Looks up a previously registered
NPObjectVar
for the given NPObject and
47
// instance. Returns NULL if there is no
NPObjectVar
corresponding to the
49
ppapi::
NPObjectVar
* NPObjectVarForNPObject(PP_Instance instance,
52
// Returns the number of
NPObjectVar
's associated with the given instance
[
all
...]
host_var_tracker.cc
15
using ppapi::
NPObjectVar
;
34
void HostVarTracker::AddNPObjectVar(
NPObjectVar
* object_var) {
51
<< "
NPObjectVar
already in map";
55
void HostVarTracker::RemoveNPObjectVar(
NPObjectVar
* object_var) {
61
NOTREACHED() << "
NPObjectVar
has invalid instance.";
69
NOTREACHED() << "
NPObjectVar
not registered.";
73
NOTREACHED() << "
NPObjectVar
doesn't match.";
79
NPObjectVar
* HostVarTracker::NPObjectVarForNPObject(PP_Instance instance,
139
void HostVarTracker::ForceReleaseNPObject(ppapi::
NPObjectVar
* object_var) {
host_var_tracker_unittest.cc
18
using ppapi::
NPObjectVar
;
98
scoped_refptr<
NPObjectVar
> check_object(
NPObjectVar
::FromPPVar(pp_object1));
ppb_var_deprecated_impl.cc
23
using ppapi::
NPObjectVar
;
82
scoped_refptr<
NPObjectVar
> object(
NPObjectVar
::FromPPVar(var));
112
: TryCatch(exception), object_(
NPObjectVar
::FromPPVar(object)) {
118
NPObjectVar
* object() { return object_.get(); }
125
scoped_refptr<
NPObjectVar
> object_;
371
scoped_refptr<
NPObjectVar
> object(
NPObjectVar
::FromPPVar(var));
npapi_glue.cc
27
using ppapi::
NPObjectVar
;
59
scoped_refptr<
NPObjectVar
> object_var(
63
object_var = new
NPObjectVar
(instance->pp_instance(), object);
102
scoped_refptr<
NPObjectVar
> object(
NPObjectVar
::FromPPVar(var));
pepper_webplugin_impl.cc
34
using ppapi::
NPObjectVar
;
139
scoped_refptr<
NPObjectVar
> object(
NPObjectVar
::FromPPVar(instance_object_));
/external/chromium_org/ppapi/proxy/
ppp_instance_private_proxy_unittest.cc
24
// A fake version of
NPObjectVar
for testing.
25
class
NPObjectVar
: public ppapi::Var {
27
NPObjectVar
() {}
28
virtual ~
NPObjectVar
() {}
31
virtual
NPObjectVar
* AsNPObjectVar() OVERRIDE { return this; }
114
NPObjectVar
* obj_var = new
NPObjectVar
;
/external/chromium_org/ppapi/shared_impl/
var.h
22
class
NPObjectVar
;
38
virtual
NPObjectVar
* AsNPObjectVar();
var.cc
83
NPObjectVar
* Var::AsNPObjectVar() { return NULL; }
Completed in 249 milliseconds