| 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 | 15 |
| 15 class RendererClipboardClient; | 16 class RendererClipboardClient; |
| 16 class WebSharedWorkerRepositoryImpl; | 17 class WebSharedWorkerRepositoryImpl; |
| 17 class WebFileSystemImpl; | 18 class WebFileSystemImpl; |
| 18 | 19 |
| 19 namespace content { | 20 namespace content { |
| 20 class GamepadSharedMemoryReader; | 21 class GamepadSharedMemoryReader; |
| 21 } | 22 } |
| 22 | 23 |
| 23 namespace IPC { | 24 namespace IPC { |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, | 76 const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, |
| 76 const WebKit::WebString& keyPath, | 77 const WebKit::WebString& keyPath, |
| 77 WebKit::WebVector<WebKit::WebIDBKey>& keys) OVERRIDE; | 78 WebKit::WebVector<WebKit::WebIDBKey>& keys) OVERRIDE; |
| 78 virtual WebKit::WebSerializedScriptValue injectIDBKeyIntoSerializedValue( | 79 virtual WebKit::WebSerializedScriptValue injectIDBKeyIntoSerializedValue( |
| 79 const WebKit::WebIDBKey& key, | 80 const WebKit::WebIDBKey& key, |
| 80 const WebKit::WebSerializedScriptValue& value, | 81 const WebKit::WebSerializedScriptValue& value, |
| 81 const WebKit::WebString& keyPath) OVERRIDE; | 82 const WebKit::WebString& keyPath) OVERRIDE; |
| 82 virtual WebKit::WebFileSystem* fileSystem() OVERRIDE; | 83 virtual WebKit::WebFileSystem* fileSystem() OVERRIDE; |
| 83 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() OVERRIDE; | 84 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() OVERRIDE; |
| 84 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D() OVERRIDE; | 85 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D() OVERRIDE; |
| 86 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
| 87 const WebKit::WebGraphicsContext3D::Attributes& attributes); |
| 85 virtual double audioHardwareSampleRate() OVERRIDE; | 88 virtual double audioHardwareSampleRate() OVERRIDE; |
| 86 virtual size_t audioHardwareBufferSize() OVERRIDE; | 89 virtual size_t audioHardwareBufferSize() OVERRIDE; |
| 87 virtual WebKit::WebAudioDevice* createAudioDevice( | 90 virtual WebKit::WebAudioDevice* createAudioDevice( |
| 88 size_t buffer_size, unsigned channels, double sample_rate, | 91 size_t buffer_size, unsigned channels, double sample_rate, |
| 89 WebKit::WebAudioDevice::RenderCallback* callback) OVERRIDE; | 92 WebKit::WebAudioDevice::RenderCallback* callback) OVERRIDE; |
| 90 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE; | 93 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE; |
| 91 virtual void sampleGamepads(WebKit::WebGamepads&) OVERRIDE; | 94 virtual void sampleGamepads(WebKit::WebGamepads&) OVERRIDE; |
| 92 virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE; | 95 virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE; |
| 93 virtual void GetPlugins(bool refresh, | 96 virtual void GetPlugins(bool refresh, |
| 94 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; | 97 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; | 129 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; |
| 127 | 130 |
| 128 scoped_ptr<WebFileSystemImpl> web_file_system_; | 131 scoped_ptr<WebFileSystemImpl> web_file_system_; |
| 129 | 132 |
| 130 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; | 133 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
| 131 | 134 |
| 132 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 135 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
| 133 }; | 136 }; |
| 134 | 137 |
| 135 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 138 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
| OLD | NEW |