Searched refs:MIMEType (Results 1 – 25 of 113) sorted by relevance
12345
/external/webkit/Source/WebCore/platform/graphics/gtk/ |
D | IconGtk.cpp | 53 static String lookupIconName(String MIMEType) in lookupIconName() argument 69 int pos = MIMEType.find('/'); in lookupIconName() 71 String media = MIMEType.substring(0, pos); in lookupIconName() 72 String subtype = MIMEType.substring(pos + 1); in lookupIconName() 100 String MIMEType = MIMETypeRegistry::getMIMETypeForPath(filenames[0]); in createIconForFiles() local 101 String iconName = lookupIconName(MIMEType); in createIconForFiles()
|
/external/webkit/Source/WebKit/mac/WebView/ |
D | WebViewInternal.h | 127 …*)vClass andRepresentationClass:(Class *)rClass forMIMEType:(NSString *)MIMEType allowingPlugins:(… 128 …_viewClass:(Class *)vClass andRepresentationClass:(Class *)rClass forMIMEType:(NSString *)MIMEType; 129 + (void)_registerPluginMIMEType:(NSString *)MIMEType; 130 + (void)_unregisterPluginMIMEType:(NSString *)MIMEType; 131 + (BOOL)_canShowMIMEType:(NSString *)MIMEType allowingPlugins:(BOOL)allowPlugins; 132 - (BOOL)_canShowMIMEType:(NSString *)MIMEType; 152 - (WebBasePluginPackage *)_pluginForMIMEType:(NSString *)MIMEType; 155 - (WebBasePluginPackage *)_videoProxyPluginForMIMEType:(NSString *)MIMEType;
|
D | WebResource.h | 55 - (id)initWithData:(NSData *)data URL:(NSURL *)URL MIMEType:(NSString *)MIMEType textEncodingName:(… 73 - (NSString *)MIMEType;
|
D | WebFrameViewInternal.h | 42 - (Class)_viewClassForMIMEType:(NSString *)MIMEType; 43 + (Class)_viewClassForMIMEType:(NSString *)MIMEType allowingPlugins:(BOOL)allowPlugins; 44 + (BOOL)_canShowMIMETypeAsHTML:(NSString *)MIMEType;
|
D | WebResource.mm | 120 - (id)initWithData:(NSData *)data URL:(NSURL *)URL MIMEType:(NSString *)MIMEType textEncodingName:(… 122 …return [self _initWithData:data URL:URL MIMEType:MIMEType textEncodingName:textEncodingName frameN… 235 - (NSString *)MIMEType 239 return [[self _webkit_invokeOnMainThread] MIMEType]; 338 MIMEType:(NSString *)MIMEType 346 …return [[self _webkit_invokeOnMainThread] _initWithData:data URL:URL MIMEType:MIMEType textEncodin… 355 if (!data || !URL || !MIMEType) { 360 …edBuffer::wrapNSData(copyData ? [[data copy] autorelease] : data), URL, MIMEType, textEncodingName… 371 MIMEType:[response MIMEType] 398 filename = [[self URL] _webkit_suggestedFilenameWithMIMEType:[self MIMEType]];
|
D | WebResourcePrivate.h | 35 MIMEType:(NSString *)MIMEType
|
D | WebFrame.h | 111 - (void)loadData:(NSData *)data MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)encoding…
|
D | WebDataSource.mm | 146 + (Class)_representationClassForMIMEType:(NSString *)MIMEType allowingPlugins:(BOOL)allowPlugins 149 …return [WebView _viewClass:nil andRepresentationClass:&repClass forMIMEType:MIMEType allowingPlugi… 195 return [[self response] MIMEType]; 294 NSString *MIMEType = [mainResource MIMEType]; 295 if ([WebView canShowMIMETypeAsHTML:MIMEType]) { 304 } else if (MIMETypeRegistry::isSupportedImageMIMEType(MIMEType)) { 354 NSString *MIMEType = [self _responseMIMEType]; 355 return [WebView canShowMIMETypeAsHTML:MIMEType];
|
D | WebView.h | 126 + (BOOL)canShowMIMEType:(NSString *)MIMEType; 135 + (BOOL)canShowMIMETypeAsHTML:(NSString *)MIMEType; 521 …s:(Class)viewClass representationClass:(Class)representationClass forMIMEType:(NSString *)MIMEType;
|
D | WebView.mm | 951 NSString *MIMEType; 952 while ((MIMEType = [enumerator nextObject]) != nil) { 953 NSArray *extensionsForType = WKGetExtensionsForMIMEType(MIMEType); 970 + (void)_registerPluginMIMEType:(NSString *)MIMEType 972 …wClass:[WebHTMLView class] representationClass:[WebHTMLRepresentation class] forMIMEType:MIMEType]; 973 [knownPluginMIMETypes() addObject:MIMEType]; 976 + (void)_unregisterPluginMIMEType:(NSString *)MIMEType 978 [self _unregisterViewClassAndRepresentationClassForMIMEType:MIMEType]; 979 [knownPluginMIMETypes() removeObject:MIMEType]; 982 …*)vClass andRepresentationClass:(Class *)rClass forMIMEType:(NSString *)MIMEType allowingPlugins:(… [all …]
|
/external/webkit/Source/WebKit/mac/Plugins/ |
D | WebPluginDatabase.mm | 159 - (WebBasePluginPackage *)pluginForMIMEType:(NSString *)MIMEType 163 MIMEType = [MIMEType lowercaseString]; 167 if ([plugin supportsMIMEType:MIMEType]) 192 NSString *MIMEType = WKGetMIMETypeForExtension(extension); 193 if ([MIMEType length] > 0) 194 plugin = [self pluginForMIMEType:MIMEType]; 317 NSString *MIMEType; 318 while ((MIMEType = [MIMEEnumerator nextObject]) != nil) { 319 [registeredMIMETypes addObject:MIMEType]; 321 if ([WebView canShowMIMETypeAsHTML:MIMEType]) [all …]
|
D | WebPluginDatabase.h | 51 - (BOOL)isMIMETypeRegistered:(NSString *)MIMEType;
|
/external/webkit/Source/WebCore/loader/mac/ |
D | LoaderNSURLExtras.mm | 52 NSString *suggestedFilenameWithMIMEType(NSURL *url, NSString *MIMEType) 74 if (!MIMEType) { 80 …if (([MIMEType isEqualToString:@"application/tar"] || [MIMEType isEqualToString:@"application/x-ta… 88 …if (![MIMEType isEqualToString:@"application/octet-stream"] && ![MIMEType isEqualToString:@"text/p… 89 Vector<String> extensions = MIMETypeRegistry::getExtensionsForMIMEType(MIMEType); 93 … NSString *correctExtension = MIMETypeRegistry::getPreferredExtensionForMIMEType(MIMEType);
|
D | LoaderNSURLExtras.h | 35 NSString *suggestedFilenameWithMIMEType(NSURL *url, NSString *MIMEType);
|
/external/webkit/Source/WebKit/win/Interfaces/ |
D | IWebResource.idl | 47 @method initWithData:URL:MIMEType:textEncodingName:frameName 51 @param MIMEType The MIME type of the resource. 55 …- (id)initWithData:(NSData *)data URL:(NSURL *)URL MIMEType:(NSString *)MIMEType textEncodingName:… 74 @method MIMEType 76 - (NSString *)MIMEType; 78 HRESULT MIMEType([out, retval] BSTR* mime);
|
D | IWebURLResponse.idl | 48 …- (id)initWithURL:(NSURL *)URL MIMEType:(NSString *)MIMEType expectedContentLength:(int)length tex… 53 - (NSString *)MIMEType 55 HRESULT MIMEType([out, retval] BSTR* result);
|
/external/webkit/Source/WebCore/dom/ |
D | DOMImplementation.h | 60 …static PassRefPtr<Document> createDocument(const String& MIMEType, Frame*, const KURL&, bool inVie… 62 static bool isXMLMIMEType(const String& MIMEType); 63 static bool isTextMIMEType(const String& MIMEType);
|
/external/webkit/Source/WebKit/mac/Misc/ |
D | WebKitErrorsPrivate.h | 61 MIMEType:(NSString *)MIMEType;
|
D | WebNSDictionaryExtras.m | 58 -(id)_webkit_objectForMIMEType:(NSString *)MIMEType 63 result = [self objectForKey:MIMEType]; 68 slashRange = [MIMEType rangeOfString:@"/"]; 73 return [self objectForKey:[MIMEType substringToIndex:slashRange.location + 1]];
|
D | WebKitErrors.m | 108 MIMEType:(NSString *)MIMEType 131 if (MIMEType) { 132 [userInfo setObject:MIMEType forKey:WebKitErrorMIMETypeKey];
|
D | WebNSDictionaryExtras.h | 38 - (id)_webkit_objectForMIMEType:(NSString *)MIMEType;
|
/external/webkit/Source/WebKit/efl/WebCoreSupport/ |
D | FrameLoaderClientEfl.cpp | 655 bool FrameLoaderClientEfl::canShowMIMETypeAsHTML(const String& MIMEType) const in canShowMIMETypeAsHTML() 661 bool FrameLoaderClientEfl::canShowMIMEType(const String& MIMEType) const in canShowMIMEType() 663 if (MIMETypeRegistry::isSupportedImageMIMEType(MIMEType)) in canShowMIMEType() 666 if (MIMETypeRegistry::isSupportedNonImageMIMEType(MIMEType)) in canShowMIMEType() 670 if (PluginDatabase::installedPlugins()->isMIMETypeRegistered(MIMEType)) in canShowMIMEType()
|
/external/webkit/Source/WebCore/platform/mac/ |
D | PasteboardMac.mm | 292 NSString *MIMEType = nil; 294 MIMEType = coreMIMEType; 295 [wrapper setPreferredFilename:suggestedFilenameWithMIMEType(url, MIMEType)]; 333 String MIMEType = cachedImage->response().mimeType(); 334 ASSERT(MIMETypeRegistry::isSupportedImageResourceMIMEType(MIMEType)); 505 NSString *MIMEType = mainResource->mimeType(); 508 if (frame->loader()->client()->canShowMIMETypeAsHTML(MIMEType)) { 516 } else if (MIMETypeRegistry::isSupportedImageMIMEType(MIMEType))
|
/external/webkit/Source/WebKit/mac/Plugins/Hosted/ |
D | WebHostedNetscapePluginView.h | 54 MIMEType:(NSString *)MIME
|
/external/webkit/Tools/WebKitLauncher/ |
D | WebKitLauncherURLProtocol.m | 92 …NSURLResponse *response = [[NSURLResponse alloc] initWithURL:[[self request] URL] MIMEType:@"text/… 105 …NSURLResponse *response = [[NSURLResponse alloc] initWithURL:[[self request] URL] MIMEType:@"text/…
|
12345