Lines Matching refs:instance
95 PluginDispatcher* PluginDispatcher::GetForInstance(PP_Instance instance) {
99 instance);
123 void PluginDispatcher::LogWithSource(PP_Instance instance,
130 if (instance) {
132 g_instance_to_dispatcher->find(instance);
136 instance, static_cast<int>(level), source, value));
141 // Instance 0 or invalid, send to all dispatchers.
145 instance, static_cast<int>(level), source, value));
251 void PluginDispatcher::DidCreateInstance(PP_Instance instance) {
254 (*g_instance_to_dispatcher)[instance] = this;
256 instance_map_[instance] = InstanceData();
259 void PluginDispatcher::DidDestroyInstance(PP_Instance instance) {
260 InstanceDataMap::iterator it = instance_map_.find(instance);
266 instance);
276 InstanceData* PluginDispatcher::GetInstanceData(PP_Instance instance) {
277 InstanceDataMap::iterator it = instance_map_.find(instance);
311 // Synthesize an "instance destroyed" message, this will notify the
341 // happens every time a new plugin instance is created). Since we don't have