OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MOJO_SERVICES_HTML_VIEWER_WEBMIMEREGISTRY_IMPL_H_ | 5 #ifndef MOJO_SERVICES_HTML_VIEWER_WEBMIMEREGISTRY_IMPL_H_ |
6 #define MOJO_SERVICES_HTML_VIEWER_WEBMIMEREGISTRY_IMPL_H_ | 6 #define MOJO_SERVICES_HTML_VIEWER_WEBMIMEREGISTRY_IMPL_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "third_party/WebKit/public/platform/WebMimeRegistry.h" | 9 #include "third_party/WebKit/public/platform/WebMimeRegistry.h" |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 const blink::WebString& mime_type); | 24 const blink::WebString& mime_type); |
25 virtual blink::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType( | 25 virtual blink::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType( |
26 const blink::WebString& mime_type); | 26 const blink::WebString& mime_type); |
27 virtual blink::WebMimeRegistry::SupportsType supportsMediaMIMEType( | 27 virtual blink::WebMimeRegistry::SupportsType supportsMediaMIMEType( |
28 const blink::WebString& mime_type, | 28 const blink::WebString& mime_type, |
29 const blink::WebString& codecs, | 29 const blink::WebString& codecs, |
30 const blink::WebString& key_system); | 30 const blink::WebString& key_system); |
31 virtual bool supportsMediaSourceMIMEType( | 31 virtual bool supportsMediaSourceMIMEType( |
32 const blink::WebString& mime_type, | 32 const blink::WebString& mime_type, |
33 const blink::WebString& codecs); | 33 const blink::WebString& codecs); |
34 virtual bool supportsEncryptedMediaMIMEType( | |
35 const blink::WebString& key_system, | |
36 const blink::WebString& mime_type, | |
37 const blink::WebString& codecs); | |
38 virtual blink::WebMimeRegistry::SupportsType supportsNonImageMIMEType( | 34 virtual blink::WebMimeRegistry::SupportsType supportsNonImageMIMEType( |
39 const blink::WebString& mime_type); | 35 const blink::WebString& mime_type); |
40 virtual blink::WebString mimeTypeForExtension( | 36 virtual blink::WebString mimeTypeForExtension( |
41 const blink::WebString& extension); | 37 const blink::WebString& extension); |
42 virtual blink::WebString wellKnownMimeTypeForExtension( | 38 virtual blink::WebString wellKnownMimeTypeForExtension( |
43 const blink::WebString& extension); | 39 const blink::WebString& extension); |
44 virtual blink::WebString mimeTypeFromFile( | 40 virtual blink::WebString mimeTypeFromFile( |
45 const blink::WebString& path); | 41 const blink::WebString& path); |
46 }; | 42 }; |
47 | 43 |
48 } // namespace html_viewer | 44 } // namespace html_viewer |
49 | 45 |
50 #endif // MOJO_SERVICES_HTML_VIEWER_WEBMIMEREGISTRY_IMPL_H_ | 46 #endif // MOJO_SERVICES_HTML_VIEWER_WEBMIMEREGISTRY_IMPL_H_ |
OLD | NEW |