Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(511)

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

Issue 9309078: Adding a skeleton MediaStreamCenter. (Closed)
Patch Set: Fixed review comment Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
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 #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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 virtual WebKit::WebAudioDevice* createAudioDevice( 90 virtual WebKit::WebAudioDevice* createAudioDevice(
91 size_t buffer_size, unsigned channels, double sample_rate, 91 size_t buffer_size, unsigned channels, double sample_rate,
92 WebKit::WebAudioDevice::RenderCallback* callback) OVERRIDE; 92 WebKit::WebAudioDevice::RenderCallback* callback) OVERRIDE;
93 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE; 93 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE;
94 virtual void sampleGamepads(WebKit::WebGamepads&) OVERRIDE; 94 virtual void sampleGamepads(WebKit::WebGamepads&) OVERRIDE;
95 virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE; 95 virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE;
96 virtual void GetPlugins(bool refresh, 96 virtual void GetPlugins(bool refresh,
97 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; 97 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE;
98 virtual WebKit::WebPeerConnectionHandler* createPeerConnectionHandler( 98 virtual WebKit::WebPeerConnectionHandler* createPeerConnectionHandler(
99 WebKit::WebPeerConnectionHandlerClient* client) OVERRIDE; 99 WebKit::WebPeerConnectionHandlerClient* client) OVERRIDE;
100 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter(
101 WebKit::WebMediaStreamCenterClient* client) OVERRIDE;
100 102
101 private: 103 private:
102 bool CheckPreparsedJsCachingEnabled() const; 104 bool CheckPreparsedJsCachingEnabled() const;
103 105
104 // Helper function to send synchronous message from any thread. 106 // Helper function to send synchronous message from any thread.
105 static bool SendSyncMessageFromAnyThread(IPC::SyncMessage* msg); 107 static bool SendSyncMessageFromAnyThread(IPC::SyncMessage* msg);
106 108
107 scoped_ptr<RendererClipboardClient> clipboard_client_; 109 scoped_ptr<RendererClipboardClient> clipboard_client_;
108 scoped_ptr<webkit_glue::WebClipboardImpl> clipboard_; 110 scoped_ptr<webkit_glue::WebClipboardImpl> clipboard_;
109 111
(...skipping 19 matching lines...) Expand all
129 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; 131 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_;
130 132
131 scoped_ptr<WebFileSystemImpl> web_file_system_; 133 scoped_ptr<WebFileSystemImpl> web_file_system_;
132 134
133 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; 135 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_;
134 136
135 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; 137 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_;
136 }; 138 };
137 139
138 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 140 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698