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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 virtual WebKit::WebAudioDevice* createAudioDevice( | 83 virtual WebKit::WebAudioDevice* createAudioDevice( |
84 size_t buffer_size, unsigned channels, double sample_rate, | 84 size_t buffer_size, unsigned channels, double sample_rate, |
85 WebKit::WebAudioDevice::RenderCallback* callback) OVERRIDE; | 85 WebKit::WebAudioDevice::RenderCallback* callback) OVERRIDE; |
86 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE; | 86 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE; |
87 virtual void sampleGamepads(WebKit::WebGamepads&) OVERRIDE; | 87 virtual void sampleGamepads(WebKit::WebGamepads&) OVERRIDE; |
88 virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE; | 88 virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE; |
89 virtual void GetPlugins(bool refresh, | 89 virtual void GetPlugins(bool refresh, |
90 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; | 90 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; |
91 virtual WebKit::WebPeerConnection00Handler* createPeerConnection00Handler( | 91 virtual WebKit::WebPeerConnection00Handler* createPeerConnection00Handler( |
92 WebKit::WebPeerConnection00HandlerClient* client) OVERRIDE; | 92 WebKit::WebPeerConnection00HandlerClient* client) OVERRIDE; |
| 93 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( |
| 94 WebKit::WebRTCPeerConnectionHandlerClient* client) OVERRIDE; |
93 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( | 95 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( |
94 WebKit::WebMediaStreamCenterClient* client) OVERRIDE; | 96 WebKit::WebMediaStreamCenterClient* client) OVERRIDE; |
95 | 97 |
96 // Disables the WebSandboxSupport implementation for testing. | 98 // Disables the WebSandboxSupport implementation for testing. |
97 // Tests that do not set up a full sandbox environment should call | 99 // Tests that do not set up a full sandbox environment should call |
98 // SetSandboxEnabledForTesting(false) _before_ creating any instances | 100 // SetSandboxEnabledForTesting(false) _before_ creating any instances |
99 // of this class, to ensure that we don't attempt to use sandbox-related | 101 // of this class, to ensure that we don't attempt to use sandbox-related |
100 // file descriptors or other resources. | 102 // file descriptors or other resources. |
101 // | 103 // |
102 // Returns the previous |enable| value. | 104 // Returns the previous |enable| value. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; | 138 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; |
137 | 139 |
138 scoped_ptr<WebFileSystemImpl> web_file_system_; | 140 scoped_ptr<WebFileSystemImpl> web_file_system_; |
139 | 141 |
140 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; | 142 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
141 | 143 |
142 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 144 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
143 }; | 145 }; |
144 | 146 |
145 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 147 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |