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 64 matching lines...) Loading... |
75 virtual size_t audioHardwareBufferSize(); | 75 virtual size_t audioHardwareBufferSize(); |
76 | 76 |
77 // TODO(crogers): remove deprecated API as soon as WebKit calls new API. | 77 // TODO(crogers): remove deprecated API as soon as WebKit calls new API. |
78 virtual WebKit::WebAudioDevice* createAudioDevice( | 78 virtual WebKit::WebAudioDevice* createAudioDevice( |
79 size_t buffer_size, unsigned channels, double sample_rate, | 79 size_t buffer_size, unsigned channels, double sample_rate, |
80 WebKit::WebAudioDevice::RenderCallback* callback); | 80 WebKit::WebAudioDevice::RenderCallback* callback); |
81 virtual WebKit::WebAudioDevice* createAudioDevice( | 81 virtual WebKit::WebAudioDevice* createAudioDevice( |
82 size_t buffer_size, unsigned input_channels, unsigned channels, | 82 size_t buffer_size, unsigned input_channels, unsigned channels, |
83 double sample_rate, WebKit::WebAudioDevice::RenderCallback* callback); | 83 double sample_rate, WebKit::WebAudioDevice::RenderCallback* callback); |
84 | 84 |
85 virtual WebKit::WebBlobRegistry* blobRegistry(); | |
86 virtual void sampleGamepads(WebKit::WebGamepads&); | 85 virtual void sampleGamepads(WebKit::WebGamepads&); |
87 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); | 86 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); |
88 virtual void GetPlugins(bool refresh, | 87 virtual void GetPlugins(bool refresh, |
89 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; | 88 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; |
90 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( | 89 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( |
91 WebKit::WebRTCPeerConnectionHandlerClient* client); | 90 WebKit::WebRTCPeerConnectionHandlerClient* client); |
92 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( | 91 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( |
93 WebKit::WebMediaStreamCenterClient* client); | 92 WebKit::WebMediaStreamCenterClient* client); |
94 virtual bool canHyphenate(const WebKit::WebString& locale); | 93 virtual bool canHyphenate(const WebKit::WebString& locale); |
95 virtual size_t computeLastHyphenLocation(const char16* characters, | 94 virtual size_t computeLastHyphenLocation(const char16* characters, |
(...skipping 43 matching lines...) Loading... |
139 bool plugin_refresh_allowed_; | 138 bool plugin_refresh_allowed_; |
140 | 139 |
141 // Implementation of the WebSharedWorkerRepository APIs (provides an interface | 140 // Implementation of the WebSharedWorkerRepository APIs (provides an interface |
142 // to WorkerService on the browser thread. | 141 // to WorkerService on the browser thread. |
143 scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_; | 142 scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_; |
144 | 143 |
145 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; | 144 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; |
146 | 145 |
147 scoped_ptr<WebFileSystemImpl> web_file_system_; | 146 scoped_ptr<WebFileSystemImpl> web_file_system_; |
148 | 147 |
149 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; | |
150 | |
151 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 148 scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
152 | 149 |
153 scoped_ptr<content::Hyphenator> hyphenator_; | 150 scoped_ptr<content::Hyphenator> hyphenator_; |
154 }; | 151 }; |
155 | 152 |
156 } // namespace content | 153 } // namespace content |
157 | 154 |
158 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 155 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |