/external/webkit/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() 99 String MIMEType = MIMETypeRegistry::getMIMETypeForPath(filenames[0]); in createIconForFiles() local 100 String iconName = lookupIconName(MIMEType); in createIconForFiles()
|
/external/webkit/WebKit/mac/Plugins/ |
D | WebPluginDatabase.mm | 147 - (WebBasePluginPackage *)pluginForMIMEType:(NSString *)MIMEType 149 return [self pluginForKey:[MIMEType lowercaseString] 161 NSString *MIMEType = WKGetMIMETypeForExtension(extension); 162 if ([MIMEType length] > 0) 163 plugin = [self pluginForMIMEType:MIMEType]; 283 NSString *MIMEType; 284 while ((MIMEType = [MIMEEnumerator nextObject]) != nil) { 285 [registeredMIMETypes addObject:MIMEType]; 287 if ([WebView canShowMIMETypeAsHTML:MIMEType]) 290 plugin = [self pluginForMIMEType:MIMEType]; [all …]
|
D | WebBasePluginPackage.h | 89 - (NSString *)descriptionForMIMEType:(NSString *)MIMEType; 91 - (NSArray *)extensionsForMIMEType:(NSString *)MIMEType;
|
/external/webkit/WebKit/mac/WebView/ |
D | WebResource.mm | 118 - (id)initWithData:(NSData *)data URL:(NSURL *)URL MIMEType:(NSString *)MIMEType textEncodingName:(… 120 …return [self _initWithData:data URL:URL MIMEType:MIMEType textEncodingName:textEncodingName frameN… 233 - (NSString *)MIMEType 237 return [[self _webkit_invokeOnMainThread] MIMEType]; 336 MIMEType:(NSString *)MIMEType 344 …return [[self _webkit_invokeOnMainThread] _initWithData:data URL:URL MIMEType:MIMEType textEncodin… 353 if (!data || !URL || !MIMEType) { 358 …edBuffer::wrapNSData(copyData ? [[data copy] autorelease] : data), URL, MIMEType, textEncodingName… 369 MIMEType:[response MIMEType] 396 filename = [[self URL] _webkit_suggestedFilenameWithMIMEType:[self 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 | WebViewInternal.h | 116 …*)vClass andRepresentationClass:(Class *)rClass forMIMEType:(NSString *)MIMEType allowingPlugins:(… 117 …_viewClass:(Class *)vClass andRepresentationClass:(Class *)rClass forMIMEType:(NSString *)MIMEType; 118 + (BOOL)_canShowMIMEType:(NSString *)MIMEType allowingPlugins:(BOOL)allowPlugins; 119 - (BOOL)_canShowMIMEType:(NSString *)MIMEType; 139 - (WebBasePluginPackage *)_pluginForMIMEType:(NSString *)MIMEType;
|
D | WebResourcePrivate.h | 35 MIMEType:(NSString *)MIMEType
|
D | WebDataSource.mm | 143 + (Class)_representationClassForMIMEType:(NSString *)MIMEType allowingPlugins:(BOOL)allowPlugins 146 …return [WebView _viewClass:nil andRepresentationClass:&repClass forMIMEType:MIMEType allowingPlugi… 192 return [[self response] MIMEType]; 281 NSString *MIMEType = [mainResource MIMEType]; 282 if ([WebView canShowMIMETypeAsHTML:MIMEType]) { 291 } else if (MIMETypeRegistry::isSupportedImageMIMEType(MIMEType)) { 341 NSString *MIMEType = [self _responseMIMEType]; 342 return [WebView canShowMIMETypeAsHTML:MIMEType];
|
D | WebFrame.h | 111 - (void)loadData:(NSData *)data MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)encoding…
|
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 | 832 NSString *MIMEType; 833 while ((MIMEType = [enumerator nextObject]) != nil) { 834 NSArray *extensionsForType = WKGetExtensionsForMIMEType(MIMEType); 844 …*)vClass andRepresentationClass:(Class *)rClass forMIMEType:(NSString *)MIMEType allowingPlugins:(… 846 MIMEType = [MIMEType lowercaseString]; 847 …ewClass = [[WebFrameView _viewTypesAllowImageTypeOmission:YES] _webkit_objectForMIMEType:MIMEType]; 848 …epClass = [[WebDataSource _repTypesAllowImageTypeOmission:YES] _webkit_objectForMIMEType:MIMEType]; 850 if (!viewClass || !repClass || [[WebPDFView supportedMIMETypes] containsObject:MIMEType]) { 859 …iewClass = [[WebFrameView _viewTypesAllowImageTypeOmission:NO] _webkit_objectForMIMEType:MIMEType]; 860 …repClass = [[WebDataSource _repTypesAllowImageTypeOmission:NO] _webkit_objectForMIMEType:MIMEType]; [all …]
|
D | WebFrameView.mm | 157 NSString* MIMEType = [dataSource _responseMIMEType]; 158 if (!MIMEType) 159 MIMEType = @"text/html"; 160 Class viewClass = [self _viewClassForMIMEType:MIMEType]; 242 + (BOOL)_canShowMIMETypeAsHTML:(NSString *)MIMEType 244 …return [[[self _viewTypesAllowImageTypeOmission:YES] _webkit_objectForMIMEType:MIMEType] isSubclas… 247 + (Class)_viewClassForMIMEType:(NSString *)MIMEType allowingPlugins:(BOOL)allowPlugins 250 …return [WebView _viewClass:&viewClass andRepresentationClass:nil forMIMEType:MIMEType allowingPlug… 253 - (Class)_viewClassForMIMEType:(NSString *)MIMEType 255 …return [[self class] _viewClassForMIMEType:MIMEType allowingPlugins:[[[self _webView] preferences]…
|
/external/webkit/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/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/WebCore/dom/ |
D | DOMImplementation.h | 59 … static PassRefPtr<Document> createDocument(const String& MIMEType, Frame*, bool inViewSourceMode); 63 static bool isXMLMIMEType(const String& MIMEType); 64 static bool isTextMIMEType(const String& MIMEType);
|
/external/webkit/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];
|
/external/webkit/WebCore/loader/ |
D | PolicyChecker.cpp | 100 void PolicyChecker::checkContentPolicy(const String& MIMEType, ContentPolicyDecisionFunction functi… in checkContentPolicy() argument 104 MIMEType, m_frame->loader()->activeDocumentLoader()->request()); in checkContentPolicy()
|
/external/webkit/WebCore/page/mac/ |
D | WebCoreViewFactory.h | 177 - (NSString *)descriptionForMIMEType:(NSString *)MIMEType; 178 - (NSArray *)extensionsForMIMEType:(NSString *)MIMEType;
|
/external/webkit/WebKit/mac/WebCoreSupport/ |
D | WebFrameLoaderClient.mm | 698 const String& MIMEType, const ResourceRequest& request) 703 decidePolicyForMIMEType:MIMEType 971 MIMEType:response.mimeType()]; 991 bool WebFrameLoaderClient::canShowMIMEType(const String& MIMEType) const 993 return [getWebView(m_webFrame.get()) _canShowMIMEType:MIMEType]; 1540 NSString *MIMEType; 1543 MIMEType = nil; 1546 MIMEType = mimeType; 1562 MIMEType = newMIMEType; 1581 MIMEType:MIMEType [all …]
|
/external/webkit/WebCore/platform/mac/ |
D | PasteboardMac.mm | 274 NSString *MIMEType = nil; 276 MIMEType = coreMIMEType; 277 [wrapper setPreferredFilename:suggestedFilenameWithMIMEType(url, MIMEType)]; 317 String MIMEType = cachedImage->response().mimeType(); 318 ASSERT(MIMETypeRegistry::isSupportedImageResourceMIMEType(MIMEType));
|