From e6e09784e2fe3fbe21c2859ae0a016d39b9b5281 Mon Sep 17 00:00:00 2001 From: "keonho07.kim" Date: Tue, 4 Jun 2013 16:14:08 +0900 Subject: [PATCH] Gmail attachment server is not supported seek, it is not suitable to stream play. So, make it download file. [Title] Gmail attachment server is not supported seek, it is not suitable to stream play. So, make it download file. [Problem] N_SE-39292 [Cause] N/A [Solution] Do not make a launching mediadocument anymore. Change-Id: I15a5820a06bd18bd5342d41b9ca3f2474438565d --- Source/WebCore/platform/MIMETypeRegistry.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/WebCore/platform/MIMETypeRegistry.cpp b/Source/WebCore/platform/MIMETypeRegistry.cpp index bd296b7..6c951c2 100755 --- a/Source/WebCore/platform/MIMETypeRegistry.cpp +++ b/Source/WebCore/platform/MIMETypeRegistry.cpp @@ -585,7 +585,11 @@ bool MIMETypeRegistry::isJavaAppletMIMEType(const String& mimeType) bool MIMETypeRegistry::canShowMIMEType(const String& mimeType) { +#if ENABLE(TIZEN_GSTREAMER_VIDEO) + if (isSupportedImageMIMEType(mimeType) || isSupportedNonImageMIMEType(mimeType)) +#else if (isSupportedImageMIMEType(mimeType) || isSupportedNonImageMIMEType(mimeType) || isSupportedMediaMIMEType(mimeType)) +#endif return true; if (mimeType.startsWith("text/", false)) -- 2.7.4