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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 virtual WebKit::WebAudioDevice* createAudioDevice( | 88 virtual WebKit::WebAudioDevice* createAudioDevice( |
89 size_t buffer_size, unsigned channels, double sample_rate, | 89 size_t buffer_size, unsigned channels, double sample_rate, |
90 WebKit::WebAudioDevice::RenderCallback* callback) OVERRIDE; | 90 WebKit::WebAudioDevice::RenderCallback* callback) OVERRIDE; |
91 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE; | 91 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE; |
92 virtual void sampleGamepads(WebKit::WebGamepads&) OVERRIDE; | 92 virtual void sampleGamepads(WebKit::WebGamepads&) OVERRIDE; |
93 virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE; | 93 virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE; |
94 virtual void GetPlugins(bool refresh, | 94 virtual void GetPlugins(bool refresh, |
95 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; | 95 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; |
96 virtual WebKit::WebPeerConnectionHandler* createPeerConnectionHandler( | 96 virtual WebKit::WebPeerConnectionHandler* createPeerConnectionHandler( |
97 WebKit::WebPeerConnectionHandlerClient* client) OVERRIDE; | 97 WebKit::WebPeerConnectionHandlerClient* client) OVERRIDE; |
98 virtual WebKit::WebPeerConnection00Handler* createPeerConnection00Handler( | |
99 WebKit::WebPeerConnection00HandlerClient* client) OVERRIDE; | |
100 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( | 98 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( |
101 WebKit::WebMediaStreamCenterClient* client) OVERRIDE; | 99 WebKit::WebMediaStreamCenterClient* client) OVERRIDE; |
102 | 100 |
103 protected: | 101 protected: |
104 virtual GpuChannelHostFactory* GetGpuChannelHostFactory() OVERRIDE; | 102 virtual GpuChannelHostFactory* GetGpuChannelHostFactory() OVERRIDE; |
105 | 103 |
106 private: | 104 private: |
107 bool CheckPreparsedJsCachingEnabled() const; | 105 bool CheckPreparsedJsCachingEnabled() const; |
108 | 106 |
109 // Helper function to send synchronous message from any thread. | 107 // Helper function to send synchronous message from any thread. |
(...skipping 24 matching lines...) Expand all Loading... |
134 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; | 132 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; |
135 | 133 |
136 scoped_ptr<WebFileSystemImpl> web_file_system_; | 134 scoped_ptr<WebFileSystemImpl> web_file_system_; |
137 | 135 |
138 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; | 136 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
139 | 137 |
140 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 138 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
141 }; | 139 }; |
142 | 140 |
143 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 141 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |