Home
last modified time | relevance | path

Searched refs:plugin_object (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/ppapi/proxy/
Dserialized_var_unittest.cc35 PP_Var plugin_object; in TEST_F() local
41 plugin_object = receive_input.Get(plugin_dispatcher()); in TEST_F()
42 EXPECT_EQ(0, var_tracker().GetRefCountForObject(plugin_object)); in TEST_F()
53 var_tracker().AddRefVar(plugin_object); in TEST_F()
54 EXPECT_EQ(1, var_tracker().GetRefCountForObject(plugin_object)); in TEST_F()
57 *out_param.OutParam(plugin_dispatcher()) = plugin_object; in TEST_F()
65 EXPECT_EQ(1, var_tracker().GetRefCountForObject(plugin_object)); in TEST_F()
75 EXPECT_EQ(-1, var_tracker().GetRefCountForObject(plugin_object)); in TEST_F()
128 PP_Var plugin_object = var_tracker().ReceiveObjectPassRef( in TEST_F() local
130 EXPECT_EQ(1, var_tracker().GetRefCountForObject(plugin_object)); in TEST_F()
[all …]
Dplugin_var_tracker_unittest.cc71 PP_Var plugin_object = var_tracker().ReceiveObjectPassRef( in TEST_F() local
73 PP_Var host_object2 = var_tracker().GetHostObject(plugin_object); in TEST_F()
77 var_tracker().ReleaseVar(plugin_object); in TEST_F()
85 PP_Var plugin_object = var_tracker().ReceiveObjectPassRef( in TEST_F() local
88 EXPECT_EQ(1, var_tracker().GetRefCountForObject(plugin_object)); in TEST_F()
90 var_tracker().GetTrackedWithNoReferenceCountForObject(plugin_object)); in TEST_F()
95 EXPECT_EQ(plugin_object.value.as_id, plugin_object2.value.as_id); in TEST_F()
96 EXPECT_EQ(2, var_tracker().GetRefCountForObject(plugin_object)); in TEST_F()
98 var_tracker().GetTrackedWithNoReferenceCountForObject(plugin_object)); in TEST_F()
108 var_tracker().ReleaseVar(plugin_object); in TEST_F()
[all …]
Dplugin_var_tracker.cc117 PP_Var PluginVarTracker::GetHostObject(const PP_Var& plugin_object) const { in GetHostObject()
119 if (plugin_object.type != PP_VARTYPE_OBJECT) { in GetHostObject()
124 Var* var = GetVar(plugin_object); in GetHostObject()
138 const PP_Var& plugin_object) const { in DispatcherForPluginObject()
140 if (plugin_object.type != PP_VARTYPE_OBJECT) in DispatcherForPluginObject()
143 VarMap::const_iterator found = GetLiveVar(plugin_object); in DispatcherForPluginObject()
Dplugin_var_tracker.h51 PP_Var GetHostObject(const PP_Var& plugin_object) const;
54 const PP_Var& plugin_object) const;
/external/chromium_org/content/renderer/pepper/
Dplugin_object.cc45 PluginObject* plugin_object = PluginObject::FromNPObject(np_object); in WrapperClass_Deallocate() local
46 if (!plugin_object) in WrapperClass_Deallocate()
48 plugin_object->ppp_class()->Deallocate(plugin_object->ppp_class_data()); in WrapperClass_Deallocate()
49 delete plugin_object; in WrapperClass_Deallocate()
332 PluginObject* plugin_object = FromNPObject(np_object); in IsInstanceOf() local
333 if (!plugin_object) in IsInstanceOf()
336 if (plugin_object->ppp_class() != ppp_class) in IsInstanceOf()
339 *ppp_class_data = plugin_object->ppp_class_data(); in IsInstanceOf()
Dpepper_plugin_instance_impl.h232 void AddPluginObject(PluginObject* plugin_object);
233 void RemovePluginObject(PluginObject* plugin_object);
Dpepper_plugin_instance_impl.cc1949 void PepperPluginInstanceImpl::AddPluginObject(PluginObject* plugin_object) { in AddPluginObject() argument
1950 DCHECK(live_plugin_objects_.find(plugin_object) == in AddPluginObject()
1952 live_plugin_objects_.insert(plugin_object); in AddPluginObject()
1955 void PepperPluginInstanceImpl::RemovePluginObject(PluginObject* plugin_object) { in RemovePluginObject() argument
1958 live_plugin_objects_.erase(plugin_object); in RemovePluginObject()
/external/chromium_org/content/test/plugin/
Dplugin_schedule_timer_test.cc89 ScheduleTimerTest* plugin_object = in OnTimerHelper() local
91 if (plugin_object) { in OnTimerHelper()
92 plugin_object->OnTimer(timer_id); in OnTimerHelper()
/external/chromium_org/ppapi/shared_impl/
Dvar_tracker.cc166 int VarTracker::GetRefCountForObject(const PP_Var& plugin_object) { in GetRefCountForObject() argument
169 VarMap::iterator found = GetLiveVar(plugin_object); in GetRefCountForObject()
176 const PP_Var& plugin_object) { in GetTrackedWithNoReferenceCountForObject() argument
179 VarMap::iterator found = GetLiveVar(plugin_object); in GetTrackedWithNoReferenceCountForObject()
/external/chromium/webkit/glue/
Dwebkit_glue.gypi223 '../plugins/ppapi/plugin_object.cc',
224 '../plugins/ppapi/plugin_object.h',
/external/chromium_org/content/
Dcontent_renderer.gypi393 'renderer/pepper/plugin_object.cc',
394 'renderer/pepper/plugin_object.h',