Gmail attachment server is not supported seek, it is not suitable to stream play...
authorkeonho07.kim <keonho07.kim@samsung.com>
Tue, 4 Jun 2013 07:14:08 +0000 (16:14 +0900)
committerGerrit Code Review <gerrit2@kim11>
Wed, 5 Jun 2013 02:00:06 +0000 (11:00 +0900)
[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

index bd296b7..6c951c2 100755 (executable)
@@ -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))