OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 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 | 2 // source code is governed by a BSD-style license that can be found in the |
3 // LICENSE file. | 3 // LICENSE file. |
4 | 4 |
5 #ifndef CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_ | 5 #ifndef CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_ |
6 #define CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_ | 6 #define CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_ |
7 | 7 |
8 #include "webkit/api/public/WebMimeRegistry.h" | 8 #include "third_party/WebKit/WebKit/chromium/public/WebMimeRegistry.h" |
9 #include "webkit/glue/webkitclient_impl.h" | 9 #include "webkit/glue/webkitclient_impl.h" |
10 | 10 |
11 class WorkerWebKitClientImpl : public webkit_glue::WebKitClientImpl, | 11 class WorkerWebKitClientImpl : public webkit_glue::WebKitClientImpl, |
12 public WebKit::WebMimeRegistry { | 12 public WebKit::WebMimeRegistry { |
13 public: | 13 public: |
14 // WebKitClient methods: | 14 // WebKitClient methods: |
15 virtual WebKit::WebClipboard* clipboard(); | 15 virtual WebKit::WebClipboard* clipboard(); |
16 virtual WebKit::WebMimeRegistry* mimeRegistry(); | 16 virtual WebKit::WebMimeRegistry* mimeRegistry(); |
17 virtual WebKit::WebSandboxSupport* sandboxSupport(); | 17 virtual WebKit::WebSandboxSupport* sandboxSupport(); |
18 virtual bool sandboxEnabled(); | 18 virtual bool sandboxEnabled(); |
(...skipping 29 matching lines...) Expand all Loading... |
48 const WebKit::WebString&, const WebKit::WebString&); | 48 const WebKit::WebString&, const WebKit::WebString&); |
49 virtual WebKit::WebMimeRegistry::SupportsType supportsNonImageMIMEType( | 49 virtual WebKit::WebMimeRegistry::SupportsType supportsNonImageMIMEType( |
50 const WebKit::WebString&); | 50 const WebKit::WebString&); |
51 virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&); | 51 virtual WebKit::WebString mimeTypeForExtension(const WebKit::WebString&); |
52 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&); | 52 virtual WebKit::WebString mimeTypeFromFile(const WebKit::WebString&); |
53 virtual WebKit::WebString preferredExtensionForMIMEType( | 53 virtual WebKit::WebString preferredExtensionForMIMEType( |
54 const WebKit::WebString&); | 54 const WebKit::WebString&); |
55 }; | 55 }; |
56 | 56 |
57 #endif // CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_ | 57 #endif // CHROME_WORKER_WORKER_WEBKIT_CLIENT_IMPL_H_ |
OLD | NEW |