OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
| 9 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "base/platform_file.h" | 11 #include "base/platform_file.h" |
| 12 #include "content/common/content_export.h" |
11 #include "webkit/glue/webkitplatformsupport_impl.h" | 13 #include "webkit/glue/webkitplatformsupport_impl.h" |
12 | 14 |
13 class WebSharedWorkerRepositoryImpl; | 15 class WebSharedWorkerRepositoryImpl; |
14 class WebFileSystemImpl; | 16 class WebFileSystemImpl; |
15 | 17 |
16 namespace IPC { | 18 namespace IPC { |
17 class SyncMessage; | 19 class SyncMessage; |
18 } | 20 } |
19 | 21 |
20 namespace webkit_glue { | 22 namespace webkit_glue { |
21 class WebClipboardImpl; | 23 class WebClipboardImpl; |
22 } | 24 } |
23 | 25 |
24 class RendererWebKitPlatformSupportImpl | 26 class CONTENT_EXPORT RendererWebKitPlatformSupportImpl |
25 : public webkit_glue::WebKitPlatformSupportImpl { | 27 : NON_EXPORTED_BASE(public webkit_glue::WebKitPlatformSupportImpl) { |
26 public: | 28 public: |
27 RendererWebKitPlatformSupportImpl(); | 29 RendererWebKitPlatformSupportImpl(); |
28 virtual ~RendererWebKitPlatformSupportImpl(); | 30 virtual ~RendererWebKitPlatformSupportImpl(); |
29 | 31 |
30 // WebKitPlatformSupport methods: | 32 // WebKitPlatformSupport methods: |
31 virtual WebKit::WebClipboard* clipboard(); | 33 virtual WebKit::WebClipboard* clipboard(); |
32 virtual WebKit::WebMimeRegistry* mimeRegistry(); | 34 virtual WebKit::WebMimeRegistry* mimeRegistry(); |
33 virtual WebKit::WebFileUtilities* fileUtilities(); | 35 virtual WebKit::WebFileUtilities* fileUtilities(); |
34 virtual WebKit::WebSandboxSupport* sandboxSupport(); | 36 virtual WebKit::WebSandboxSupport* sandboxSupport(); |
35 virtual WebKit::WebCookieJar* cookieJar(); | 37 virtual WebKit::WebCookieJar* cookieJar(); |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_; | 115 scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_; |
114 | 116 |
115 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; | 117 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; |
116 | 118 |
117 scoped_ptr<WebFileSystemImpl> web_file_system_; | 119 scoped_ptr<WebFileSystemImpl> web_file_system_; |
118 | 120 |
119 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; | 121 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
120 }; | 122 }; |
121 | 123 |
122 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 124 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |