Chromium Code Reviews

Side by Side Diff: content/renderer/renderer_webkitplatformsupport_impl.h

Issue 11410019: ********** Chromium Blob hacking (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
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...)
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...)
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_
OLDNEW
« no previous file with comments | « content/common/webkitplatformsupport_impl.cc ('k') | content/renderer/renderer_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine