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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 virtual WebKit::WebAudioDevice* createAudioDevice( | 76 virtual WebKit::WebAudioDevice* createAudioDevice( |
77 size_t buffer_size, unsigned channels, double sample_rate, | 77 size_t buffer_size, unsigned channels, double sample_rate, |
78 WebKit::WebAudioDevice::RenderCallback* callback) OVERRIDE; | 78 WebKit::WebAudioDevice::RenderCallback* callback) OVERRIDE; |
79 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE; | 79 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE; |
80 virtual void sampleGamepads(WebKit::WebGamepads&) OVERRIDE; | 80 virtual void sampleGamepads(WebKit::WebGamepads&) OVERRIDE; |
81 virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE; | 81 virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE; |
82 virtual void GetPlugins(bool refresh, | 82 virtual void GetPlugins(bool refresh, |
83 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; | 83 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; |
84 virtual WebKit::WebPeerConnection00Handler* createPeerConnection00Handler( | 84 virtual WebKit::WebPeerConnection00Handler* createPeerConnection00Handler( |
85 WebKit::WebPeerConnection00HandlerClient* client) OVERRIDE; | 85 WebKit::WebPeerConnection00HandlerClient* client) OVERRIDE; |
| 86 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( |
| 87 WebKit::WebRTCPeerConnectionHandlerClient* client) OVERRIDE; |
86 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( | 88 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( |
87 WebKit::WebMediaStreamCenterClient* client) OVERRIDE; | 89 WebKit::WebMediaStreamCenterClient* client) OVERRIDE; |
88 virtual bool canHyphenate(const WebKit::WebString& locale) OVERRIDE; | 90 virtual bool canHyphenate(const WebKit::WebString& locale) OVERRIDE; |
89 virtual size_t computeLastHyphenLocation(const char16* characters, | 91 virtual size_t computeLastHyphenLocation(const char16* characters, |
90 size_t length, | 92 size_t length, |
91 size_t before_index, | 93 size_t before_index, |
92 const WebKit::WebString& locale) OVERRIDE; | 94 const WebKit::WebString& locale) OVERRIDE; |
93 | 95 |
94 // Disables the WebSandboxSupport implementation for testing. | 96 // Disables the WebSandboxSupport implementation for testing. |
95 // Tests that do not set up a full sandbox environment should call | 97 // Tests that do not set up a full sandbox environment should call |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 scoped_ptr<WebFileSystemImpl> web_file_system_; | 138 scoped_ptr<WebFileSystemImpl> web_file_system_; |
137 | 139 |
138 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; | 140 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
139 | 141 |
140 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 142 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
141 | 143 |
142 scoped_ptr<content::Hyphenator> hyphenator_; | 144 scoped_ptr<content::Hyphenator> hyphenator_; |
143 }; | 145 }; |
144 | 146 |
145 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 147 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |