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 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 virtual double audioHardwareSampleRate() OVERRIDE; | 78 virtual double audioHardwareSampleRate() OVERRIDE; |
79 virtual size_t audioHardwareBufferSize() OVERRIDE; | 79 virtual size_t audioHardwareBufferSize() OVERRIDE; |
80 virtual WebKit::WebAudioDevice* createAudioDevice( | 80 virtual WebKit::WebAudioDevice* createAudioDevice( |
81 size_t buffer_size, unsigned channels, double sample_rate, | 81 size_t buffer_size, unsigned channels, double sample_rate, |
82 WebKit::WebAudioDevice::RenderCallback* callback) OVERRIDE; | 82 WebKit::WebAudioDevice::RenderCallback* callback) OVERRIDE; |
83 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE; | 83 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE; |
84 virtual void sampleGamepads(WebKit::WebGamepads&) OVERRIDE; | 84 virtual void sampleGamepads(WebKit::WebGamepads&) OVERRIDE; |
85 virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE; | 85 virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE; |
86 virtual void GetPlugins(bool refresh, | 86 virtual void GetPlugins(bool refresh, |
87 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; | 87 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; |
88 virtual WebKit::WebPeerConnectionHandler* createPeerConnectionHandler( | |
89 WebKit::WebPeerConnectionHandlerClient* client) OVERRIDE; | |
90 virtual WebKit::WebPeerConnection00Handler* createPeerConnection00Handler( | 88 virtual WebKit::WebPeerConnection00Handler* createPeerConnection00Handler( |
91 WebKit::WebPeerConnection00HandlerClient* client) OVERRIDE; | 89 WebKit::WebPeerConnection00HandlerClient* client) OVERRIDE; |
92 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( | 90 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( |
93 WebKit::WebMediaStreamCenterClient* client) OVERRIDE; | 91 WebKit::WebMediaStreamCenterClient* client) OVERRIDE; |
94 | 92 |
95 // Disables the WebSandboxSupport implementation for testing. | 93 // Disables the WebSandboxSupport implementation for testing. |
96 // Tests that do not set up a full sandbox environment should call | 94 // Tests that do not set up a full sandbox environment should call |
97 // SetSandboxEnabledForTesting(false) _before_ creating any instances | 95 // SetSandboxEnabledForTesting(false) _before_ creating any instances |
98 // of this class, to ensure that we don't attempt to use sandbox-related | 96 // of this class, to ensure that we don't attempt to use sandbox-related |
99 // file descriptors or other resources. | 97 // file descriptors or other resources. |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; | 130 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; |
133 | 131 |
134 scoped_ptr<WebFileSystemImpl> web_file_system_; | 132 scoped_ptr<WebFileSystemImpl> web_file_system_; |
135 | 133 |
136 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; | 134 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
137 | 135 |
138 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 136 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
139 }; | 137 }; |
140 | 138 |
141 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 139 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |