diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-29 20:34:16 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-29 20:34:16 +0000 |
commit | 4a93d168ac89970e222a548f512cd70a54b12901 (patch) | |
tree | 36e82b6c1382e8a376afa88975ec27f31c502c0e /webkit/glue/simple_webmimeregistry_impl.h | |
parent | 28f9033b54cd783536fd7cc84d6f0ef536dc5105 (diff) | |
download | chromium_src-4a93d168ac89970e222a548f512cd70a54b12901.zip chromium_src-4a93d168ac89970e222a548f512cd70a54b12901.tar.gz chromium_src-4a93d168ac89970e222a548f512cd70a54b12901.tar.bz2 |
Handle mimetype queries for media files
Added code path from WebKit to net::mimt_util to query
supported mime-types for media files.
BUG=12777
Review URL: http://codereview.chromium.org/114060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17225 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/simple_webmimeregistry_impl.h')
-rw-r--r-- | webkit/glue/simple_webmimeregistry_impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/simple_webmimeregistry_impl.h b/webkit/glue/simple_webmimeregistry_impl.h index 7d5140b..c783ebd 100644 --- a/webkit/glue/simple_webmimeregistry_impl.h +++ b/webkit/glue/simple_webmimeregistry_impl.h @@ -14,6 +14,7 @@ class SimpleWebMimeRegistryImpl : public WebKit::WebMimeRegistry { // WebMimeRegistry methods: virtual bool supportsImageMIMEType(const WebKit::WebString&); virtual bool supportsJavaScriptMIMEType(const WebKit::WebString&); + virtual bool supportsMediaMIMEType(const WebKit::WebString&); virtual bool supportsNonImageMIMEType(const WebKit::WebString&); virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&); virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&); |