• Home
  • Raw
  • Download

Lines Matching refs:plugin

55 - (void)_addPlugin:(WebBasePluginPackage *)plugin;
56 - (void)_removePlugin:(WebBasePluginPackage *)plugin;
101 void update(WebBasePluginPackage *plugin)
103 if ([plugin isKindOfClass:[WebPluginPackage class]]) {
104 checkCandidate(&webPlugin, &plugin);
109 if([plugin isKindOfClass:[WebNetscapePluginPackage class]]) {
110 WebExecutableType executableType = [(WebNetscapePluginPackage *)plugin executableType];
113 checkCandidate(&CFMPlugin, &plugin);
118 checkCandidate(&machoPlugin, &plugin);
166 while (WebBasePluginPackage *plugin = [pluginEnumerator nextObject]) {
167 if ([plugin supportsMIMEType:MIMEType])
168 candidates.update(plugin);
181 while (WebBasePluginPackage *plugin = [pluginEnumerator nextObject]) {
182 if ([plugin supportsExtension:extension])
183 candidates.update(plugin);
186 WebBasePluginPackage *plugin = candidates.bestCandidate();
188 if (!plugin) {
194 plugin = [self pluginForMIMEType:MIMEType];
196 return plugin;
216 // we need to save a copy of the additional paths and not cause a refresh of the plugin DB
233 WebBasePluginPackage *plugin;
234 while ((plugin = [pluginEnumerator nextObject]) != nil)
235 [self _removePlugin:plugin];
277 WebBasePluginPackage *plugin;
278 while ((plugin = [pluginEnumerator nextObject]) != nil) {
281 if (![newPlugins containsObject:plugin])
282 [pluginsToRemove addObject:plugin];
286 [newPlugins removeObject:plugin];
298 while ((plugin = [pluginEnumerator nextObject]) != nil)
299 [self _removePlugin:plugin];
303 while ((plugin = [pluginEnumerator nextObject]) != nil)
304 [self _addPlugin:plugin];
309 while ((plugin = [pluginEnumerator nextObject])) {
310 const PluginInfo& pluginInfo = [plugin pluginInfo];
324 plugin = [self pluginForMIMEType:MIMEType];
325 if ([plugin isJavaPlugIn])
328 …if ([plugin isQuickTimePlugIn] && [[WebFrameView _viewTypesAllowImageTypeOmission:NO] objectForKey…
357 …// This handles handles the case where a frame or view is being destroyed and the plugin needs to …
395 …// this will actually destroy all plugin instances for a webHTMLView and remove them from this list
409 // For example, if there is a QuickTime.plugin in the users's home directory
424 // which simply saved a copy of the additional paths and did not cause the plugin DB to
433 - (void)_addPlugin:(WebBasePluginPackage *)plugin
435 ASSERT(plugin);
436 NSString *pluginPath = [plugin path];
438 [plugins setObject:plugin forKey:pluginPath];
439 [plugin wasAddedToPluginDatabase:self];
442 - (void)_removePlugin:(WebBasePluginPackage *)plugin
444 ASSERT(plugin);
447 const PluginInfo& pluginInfo = [plugin pluginInfo];
459 NSString *pluginPath = [plugin path];
461 [plugin retain];
463 [plugin wasRemovedFromPluginDatabase:self];
464 [plugin release];