summaryrefslogtreecommitdiffstats
path: root/webkit/glue/simple_webmimeregistry_impl.h
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-25 01:34:57 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-25 01:34:57 +0000
commitdf407eaf9bad2ca4e4d2099904d0a35d11caec3e (patch)
treef645a4906ee7887995ee8c8df3e8251d00bc9fd9 /webkit/glue/simple_webmimeregistry_impl.h
parent29acfb3095a9e484443ffc149d43908ecb17f42f (diff)
downloadchromium_src-df407eaf9bad2ca4e4d2099904d0a35d11caec3e.zip
chromium_src-df407eaf9bad2ca4e4d2099904d0a35d11caec3e.tar.gz
chromium_src-df407eaf9bad2ca4e4d2099904d0a35d11caec3e.tar.bz2
Implemented rest of webkit api/glue code needed for HTML5 media canPlayType().
BUG=16636 TEST=we should respect the codecs= parameter when provided as a media mime type Review URL: http://codereview.chromium.org/160073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21607 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/simple_webmimeregistry_impl.h')
-rw-r--r--webkit/glue/simple_webmimeregistry_impl.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/webkit/glue/simple_webmimeregistry_impl.h b/webkit/glue/simple_webmimeregistry_impl.h
index c783ebd..003a9f4 100644
--- a/webkit/glue/simple_webmimeregistry_impl.h
+++ b/webkit/glue/simple_webmimeregistry_impl.h
@@ -12,10 +12,14 @@ namespace webkit_glue {
class SimpleWebMimeRegistryImpl : public WebKit::WebMimeRegistry {
public:
// 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::WebMimeRegistry::SupportsType supportsImageMIMEType(
+ const WebKit::WebString&);
+ virtual WebKit::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType(
+ const WebKit::WebString&);
+ virtual WebKit::WebMimeRegistry::SupportsType supportsMediaMIMEType(
+ const WebKit::WebString&, const WebKit::WebString&);
+ virtual WebKit::WebMimeRegistry::SupportsType supportsNonImageMIMEType(
+ const WebKit::WebString&);
virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&);
virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&);
virtual WebKit::WebString preferredExtensionForMIMEType(