| 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_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/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/platform_file.h" | 11 #include "base/platform_file.h" |
| 12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 13 #include "content/common/webkitplatformsupport_impl.h" | 13 #include "content/common/webkitplatformsupport_impl.h" |
| 14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC
ontext3D.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC
ontext3D.h" |
| 15 | 15 |
| 16 class RendererClipboardClient; | 16 class RendererClipboardClient; |
| 17 class WebSharedWorkerRepositoryImpl; | 17 class WebSharedWorkerRepositoryImpl; |
| 18 class WebFileSystemImpl; | 18 class WebFileSystemImpl; |
| 19 | 19 |
| 20 namespace content { | 20 namespace content { |
| 21 class GamepadSharedMemoryReader; | 21 class GamepadSharedMemoryReader; |
| 22 } | 22 } |
| 23 | 23 |
| 24 namespace IPC { | |
| 25 class SyncMessage; | |
| 26 } | |
| 27 | |
| 28 namespace webkit_glue { | 24 namespace webkit_glue { |
| 29 class WebClipboardImpl; | 25 class WebClipboardImpl; |
| 30 } | 26 } |
| 31 | 27 |
| 32 class CONTENT_EXPORT RendererWebKitPlatformSupportImpl | 28 class CONTENT_EXPORT RendererWebKitPlatformSupportImpl |
| 33 : public content::WebKitPlatformSupportImpl { | 29 : public content::WebKitPlatformSupportImpl { |
| 34 public: | 30 public: |
| 35 RendererWebKitPlatformSupportImpl(); | 31 RendererWebKitPlatformSupportImpl(); |
| 36 virtual ~RendererWebKitPlatformSupportImpl(); | 32 virtual ~RendererWebKitPlatformSupportImpl(); |
| 37 | 33 |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 WebKit::WebPeerConnection00HandlerClient* client) OVERRIDE; | 91 WebKit::WebPeerConnection00HandlerClient* client) OVERRIDE; |
| 96 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( | 92 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( |
| 97 WebKit::WebMediaStreamCenterClient* client) OVERRIDE; | 93 WebKit::WebMediaStreamCenterClient* client) OVERRIDE; |
| 98 | 94 |
| 99 protected: | 95 protected: |
| 100 virtual GpuChannelHostFactory* GetGpuChannelHostFactory() OVERRIDE; | 96 virtual GpuChannelHostFactory* GetGpuChannelHostFactory() OVERRIDE; |
| 101 | 97 |
| 102 private: | 98 private: |
| 103 bool CheckPreparsedJsCachingEnabled() const; | 99 bool CheckPreparsedJsCachingEnabled() const; |
| 104 | 100 |
| 105 // Helper function to send synchronous message from any thread. | |
| 106 static bool SendSyncMessageFromAnyThread(IPC::SyncMessage* msg); | |
| 107 | |
| 108 scoped_ptr<RendererClipboardClient> clipboard_client_; | 101 scoped_ptr<RendererClipboardClient> clipboard_client_; |
| 109 scoped_ptr<webkit_glue::WebClipboardImpl> clipboard_; | 102 scoped_ptr<webkit_glue::WebClipboardImpl> clipboard_; |
| 110 | 103 |
| 111 class FileUtilities; | 104 class FileUtilities; |
| 112 scoped_ptr<FileUtilities> file_utilities_; | 105 scoped_ptr<FileUtilities> file_utilities_; |
| 113 | 106 |
| 114 class MimeRegistry; | 107 class MimeRegistry; |
| 115 scoped_ptr<MimeRegistry> mime_registry_; | 108 scoped_ptr<MimeRegistry> mime_registry_; |
| 116 | 109 |
| 117 class SandboxSupport; | 110 class SandboxSupport; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 130 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; | 123 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; |
| 131 | 124 |
| 132 scoped_ptr<WebFileSystemImpl> web_file_system_; | 125 scoped_ptr<WebFileSystemImpl> web_file_system_; |
| 133 | 126 |
| 134 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; | 127 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
| 135 | 128 |
| 136 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 129 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
| 137 }; | 130 }; |
| 138 | 131 |
| 139 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 132 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
| OLD | NEW |