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

Side by Side Diff: webkit/glue/simple_webmimeregistry_impl.h

Issue 27222: Chrome side to implement WebMimeRegistry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file.
4
5 #ifndef WEBMIMEREGISTRY_IMPL_H_
6 #define WEBMIMEREGISTRY_IMPL_H_
7
8 #include "WebMimeRegistry.h"
9
10 namespace webkit_glue {
11
12 class SimpleWebMimeRegistryImpl : public WebKit::WebMimeRegistry {
13 public:
14 // WebMimeRegistry methods:
15 virtual bool supportsImageMIMEType(const WebKit::WebString&);
16 virtual bool supportsJavaScriptMIMEType(const WebKit::WebString&);
17 virtual bool supportsNonImageMIMEType(const WebKit::WebString&);
18 virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&);
19 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&);
20 virtual WebKit::WebString preferredExtensionForMIMEType(
21 const WebKit::WebString&);
22 };
23
24 } // namespace webkit_glue
25
26 #endif // WEBMIMEREGISTRY_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698