Lines Matching refs:MIMEType
141 - (WebBasePluginPackage *)pluginForMIMEType:(NSString *)MIMEType
145 MIMEType = [MIMEType lowercaseString];
149 if ([plugin supportsMIMEType:MIMEType])
174 NSString *MIMEType = WKGetMIMETypeForExtension(extension);
175 if ([MIMEType length] > 0)
176 plugin = [self pluginForMIMEType:MIMEType];
299 NSString *MIMEType;
300 while ((MIMEType = [MIMEEnumerator nextObject]) != nil) {
301 [registeredMIMETypes addObject:MIMEType];
303 if ([WebView canShowMIMETypeAsHTML:MIMEType])
306 plugin = [self pluginForMIMEType:MIMEType];
310 if ([plugin isQuickTimePlugIn] && [[WebFrameView _viewTypesAllowImageTypeOmission:NO] objectForKey:MIMEType])
315 [WebView _registerPluginMIMEType:MIMEType];
322 - (BOOL)isMIMETypeRegistered:(NSString *)MIMEType
324 return [registeredMIMETypes containsObject:MIMEType];
431 NSString *MIMEType = pluginInfo.mimes[i].type;
433 if ([registeredMIMETypes containsObject:MIMEType]) {
435 [WebView _unregisterPluginMIMEType:MIMEType];
436 [registeredMIMETypes removeObject:MIMEType];