| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef SKY_ENGINE_TESTING_PLATFORM_WEBMIMEREGISTRY_IMPL_H_ | |
| 6 #define SKY_ENGINE_TESTING_PLATFORM_WEBMIMEREGISTRY_IMPL_H_ | |
| 7 | |
| 8 #include "base/compiler_specific.h" | |
| 9 #include "sky/engine/public/platform/WebMimeRegistry.h" | |
| 10 | |
| 11 namespace sky { | |
| 12 | |
| 13 class WebMimeRegistryImpl : public blink::WebMimeRegistry { | |
| 14 public: | |
| 15 WebMimeRegistryImpl() {} | |
| 16 virtual ~WebMimeRegistryImpl() {} | |
| 17 | |
| 18 // WebMimeRegistry methods: | |
| 19 virtual blink::WebMimeRegistry::SupportsType supportsMIMEType( | |
| 20 const blink::WebString& mime_type); | |
| 21 virtual blink::WebMimeRegistry::SupportsType supportsImageMIMEType( | |
| 22 const blink::WebString& mime_type); | |
| 23 virtual blink::WebMimeRegistry::SupportsType supportsImagePrefixedMIMEType( | |
| 24 const blink::WebString& mime_type); | |
| 25 virtual blink::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType( | |
| 26 const blink::WebString& mime_type); | |
| 27 virtual blink::WebMimeRegistry::SupportsType supportsMediaMIMEType( | |
| 28 const blink::WebString& mime_type, | |
| 29 const blink::WebString& codecs, | |
| 30 const blink::WebString& key_system); | |
| 31 virtual blink::WebMimeRegistry::SupportsType supportsNonImageMIMEType( | |
| 32 const blink::WebString& mime_type); | |
| 33 virtual blink::WebString mimeTypeForExtension( | |
| 34 const blink::WebString& extension); | |
| 35 virtual blink::WebString wellKnownMimeTypeForExtension( | |
| 36 const blink::WebString& extension); | |
| 37 virtual blink::WebString mimeTypeFromFile( | |
| 38 const blink::WebString& path); | |
| 39 }; | |
| 40 | |
| 41 } // namespace sky | |
| 42 | |
| 43 #endif // SKY_ENGINE_TESTING_PLATFORM_WEBMIMEREGISTRY_IMPL_H_ | |
| OLD | NEW |