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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 virtual WebKit::WebAudioDevice* createAudioDevice( | 89 virtual WebKit::WebAudioDevice* createAudioDevice( |
90 size_t buffer_size, unsigned channels, double sample_rate, | 90 size_t buffer_size, unsigned channels, double sample_rate, |
91 WebKit::WebAudioDevice::RenderCallback* callback) OVERRIDE; | 91 WebKit::WebAudioDevice::RenderCallback* callback) OVERRIDE; |
92 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE; | 92 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE; |
93 virtual void sampleGamepads(WebKit::WebGamepads&) OVERRIDE; | 93 virtual void sampleGamepads(WebKit::WebGamepads&) OVERRIDE; |
94 virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE; | 94 virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE; |
95 virtual void GetPlugins(bool refresh, | 95 virtual void GetPlugins(bool refresh, |
96 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; | 96 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; |
97 virtual WebKit::WebPeerConnectionHandler* createPeerConnectionHandler( | 97 virtual WebKit::WebPeerConnectionHandler* createPeerConnectionHandler( |
98 WebKit::WebPeerConnectionHandlerClient* client) OVERRIDE; | 98 WebKit::WebPeerConnectionHandlerClient* client) OVERRIDE; |
| 99 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( |
| 100 WebKit::WebMediaStreamCenterClient* client) OVERRIDE; |
99 | 101 |
100 private: | 102 private: |
101 bool CheckPreparsedJsCachingEnabled() const; | 103 bool CheckPreparsedJsCachingEnabled() const; |
102 | 104 |
103 // Helper function to send synchronous message from any thread. | 105 // Helper function to send synchronous message from any thread. |
104 static bool SendSyncMessageFromAnyThread(IPC::SyncMessage* msg); | 106 static bool SendSyncMessageFromAnyThread(IPC::SyncMessage* msg); |
105 | 107 |
106 scoped_ptr<RendererClipboardClient> clipboard_client_; | 108 scoped_ptr<RendererClipboardClient> clipboard_client_; |
107 scoped_ptr<webkit_glue::WebClipboardImpl> clipboard_; | 109 scoped_ptr<webkit_glue::WebClipboardImpl> clipboard_; |
108 | 110 |
(...skipping 19 matching lines...) Expand all Loading... |
128 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; | 130 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; |
129 | 131 |
130 scoped_ptr<WebFileSystemImpl> web_file_system_; | 132 scoped_ptr<WebFileSystemImpl> web_file_system_; |
131 | 133 |
132 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; | 134 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; |
133 | 135 |
134 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; | 136 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
135 }; | 137 }; |
136 | 138 |
137 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ | 139 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ |
OLD | NEW |