Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1653)

Side by Side Diff: components/html_viewer/web_mime_registry_impl.h

Issue 1677293002: Bye bye Mandoline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 COMPONENTS_HTML_VIEWER_WEB_MIME_REGISTRY_IMPL_H_
6 #define COMPONENTS_HTML_VIEWER_WEB_MIME_REGISTRY_IMPL_H_
7
8 #include "base/compiler_specific.h"
9 #include "third_party/WebKit/public/platform/WebMimeRegistry.h"
10
11 namespace html_viewer {
12
13 class WebMimeRegistryImpl : public blink::WebMimeRegistry {
14 public:
15 WebMimeRegistryImpl() {}
16 virtual ~WebMimeRegistryImpl() {}
17
18 // WebMimeRegistry methods:
19 blink::WebMimeRegistry::SupportsType supportsMIMEType(
20 const blink::WebString& mime_type) override;
21 blink::WebMimeRegistry::SupportsType supportsImageMIMEType(
22 const blink::WebString& mime_type) override;
23 blink::WebMimeRegistry::SupportsType supportsImagePrefixedMIMEType(
24 const blink::WebString& mime_type) override;
25 blink::WebMimeRegistry::SupportsType supportsJavaScriptMIMEType(
26 const blink::WebString& mime_type) override;
27 blink::WebMimeRegistry::SupportsType supportsMediaMIMEType(
28 const blink::WebString& mime_type,
29 const blink::WebString& codecs,
30 const blink::WebString& key_system) override;
31 bool supportsMediaSourceMIMEType(const blink::WebString& mime_type,
32 const blink::WebString& codecs) override;
33 blink::WebMimeRegistry::SupportsType supportsNonImageMIMEType(
34 const blink::WebString& mime_type) override;
35 blink::WebString mimeTypeForExtension(
36 const blink::WebString& extension) override;
37 blink::WebString wellKnownMimeTypeForExtension(
38 const blink::WebString& extension) override;
39 };
40
41 } // namespace html_viewer
42
43 #endif // COMPONENTS_HTML_VIEWER_WEB_MIME_REGISTRY_IMPL_H_
OLDNEW
« no previous file with comments | « components/html_viewer/web_layer_tree_view_impl.cc ('k') | components/html_viewer/web_mime_registry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698