summaryrefslogtreecommitdiffstats
path: root/WebCore
diff options
context:
space:
mode:
authorPatrick Scott <phanna@android.com>2010-01-13 14:10:56 -0500
committerPatrick Scott <phanna@android.com>2010-01-13 14:22:41 -0500
commit6916255e3bc5760bcaac2ec7d5057e057bd3de6a (patch)
treebfd350a7de72fa71328f0f9ed864a41542533b91 /WebCore
parentab9c9800ae22385fd019e1f6a366fc5346d041aa (diff)
downloadexternal_webkit-6916255e3bc5760bcaac2ec7d5057e057bd3de6a.zip
external_webkit-6916255e3bc5760bcaac2ec7d5057e057bd3de6a.tar.gz
external_webkit-6916255e3bc5760bcaac2ec7d5057e057bd3de6a.tar.bz2
Call into MimeTypeMap to get the mime type for an extension.
Use the default method to obtain the content type of a plugin. Implement extension to mime type by calling into the java map. Requires a small change to the webkit package. Bug: 2368893
Diffstat (limited to 'WebCore')
-rw-r--r--WebCore/platform/android/TemporaryLinkStubs.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/WebCore/platform/android/TemporaryLinkStubs.cpp b/WebCore/platform/android/TemporaryLinkStubs.cpp
index 3e71689..fb9293c 100644
--- a/WebCore/platform/android/TemporaryLinkStubs.cpp
+++ b/WebCore/platform/android/TemporaryLinkStubs.cpp
@@ -60,7 +60,6 @@
#include "KURL.h"
#include "Language.h"
#include "LocalizedStrings.h"
-#include "MIMETypeRegistry.h"
#include "MainResourceLoader.h"
#include "Node.h"
#include "NotImplemented.h"
@@ -354,12 +353,6 @@ void* WebCore::Frame::dragImageForSelection()
return 0;
}
-
-WebCore::String WebCore::MIMETypeRegistry::getMIMETypeForExtension(WebCore::String const&)
-{
- return WebCore::String();
-}
-
void WebCore::Pasteboard::writeImage(WebCore::Node*, WebCore::KURL const&, WebCore::String const&) {}
namespace WebCore {