OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 5 #ifndef CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
6 #define CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 6 #define CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "content/common/webkitplatformsupport_impl.h" | 9 #include "content/common/webkitplatformsupport_impl.h" |
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebMimeRegistry.h" | 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebMimeRegistry.h" |
11 | 11 |
12 class WebFileSystemImpl; | 12 class WebFileSystemImpl; |
13 | 13 |
14 namespace WebKit { | 14 namespace WebKit { |
15 class WebFileUtilities; | 15 class WebFileUtilities; |
16 } | 16 } |
17 | 17 |
18 class WorkerWebKitPlatformSupportImpl | 18 namespace content { |
19 : public content::WebKitPlatformSupportImpl, | 19 |
20 public WebKit::WebMimeRegistry { | 20 class WorkerWebKitPlatformSupportImpl : public WebKitPlatformSupportImpl, |
| 21 public WebKit::WebMimeRegistry { |
21 public: | 22 public: |
22 WorkerWebKitPlatformSupportImpl(); | 23 WorkerWebKitPlatformSupportImpl(); |
23 virtual ~WorkerWebKitPlatformSupportImpl(); | 24 virtual ~WorkerWebKitPlatformSupportImpl(); |
24 | 25 |
25 // WebKitPlatformSupport methods: | 26 // WebKitPlatformSupport methods: |
26 virtual WebKit::WebClipboard* clipboard(); | 27 virtual WebKit::WebClipboard* clipboard(); |
27 virtual WebKit::WebMimeRegistry* mimeRegistry(); | 28 virtual WebKit::WebMimeRegistry* mimeRegistry(); |
28 virtual WebKit::WebFileSystem* fileSystem(); | 29 virtual WebKit::WebFileSystem* fileSystem(); |
29 virtual WebKit::WebFileUtilities* fileUtilities(); | 30 virtual WebKit::WebFileUtilities* fileUtilities(); |
30 virtual WebKit::WebSandboxSupport* sandboxSupport(); | 31 virtual WebKit::WebSandboxSupport* sandboxSupport(); |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 92 |
92 class FileUtilities; | 93 class FileUtilities; |
93 scoped_ptr<FileUtilities> file_utilities_; | 94 scoped_ptr<FileUtilities> file_utilities_; |
94 | 95 |
95 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; | 96 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
96 | 97 |
97 scoped_ptr<WebFileSystemImpl> web_file_system_; | 98 scoped_ptr<WebFileSystemImpl> web_file_system_; |
98 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; | 99 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; |
99 }; | 100 }; |
100 | 101 |
| 102 } // namespace content |
| 103 |
101 #endif // CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 104 #endif // CONTENT_WORKER_WORKER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |