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

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

Issue 8060055: Adding support for MediaStream and PeerConnection functionality (Closed) Base URL: http://git.chromium.org/chromium/chromium.git@trunk
Patch Set: Code review fixes. Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D() OVERRIDE; 80 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D() OVERRIDE;
81 virtual double audioHardwareSampleRate() OVERRIDE; 81 virtual double audioHardwareSampleRate() OVERRIDE;
82 virtual size_t audioHardwareBufferSize() OVERRIDE; 82 virtual size_t audioHardwareBufferSize() OVERRIDE;
83 virtual WebKit::WebAudioDevice* createAudioDevice( 83 virtual WebKit::WebAudioDevice* createAudioDevice(
84 size_t buffer_size, unsigned channels, double sample_rate, 84 size_t buffer_size, unsigned channels, double sample_rate,
85 WebKit::WebAudioDevice::RenderCallback* callback) OVERRIDE; 85 WebKit::WebAudioDevice::RenderCallback* callback) OVERRIDE;
86 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE; 86 virtual WebKit::WebBlobRegistry* blobRegistry() OVERRIDE;
87 virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE; 87 virtual WebKit::WebString userAgent(const WebKit::WebURL& url) OVERRIDE;
88 virtual void GetPlugins(bool refresh, 88 virtual void GetPlugins(bool refresh,
89 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; 89 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE;
90 virtual WebKit::WebPeerConnectionHandler* createPeerConnectionHandler(
91 WebKit::WebPeerConnectionHandlerClient* client) OVERRIDE;
90 92
91 private: 93 private:
92 bool CheckPreparsedJsCachingEnabled() const; 94 bool CheckPreparsedJsCachingEnabled() const;
93 95
94 // Helper function to send synchronous message from any thread. 96 // Helper function to send synchronous message from any thread.
95 static bool SendSyncMessageFromAnyThread(IPC::SyncMessage* msg); 97 static bool SendSyncMessageFromAnyThread(IPC::SyncMessage* msg);
96 98
97 scoped_ptr<RendererClipboardClient> clipboard_client_; 99 scoped_ptr<RendererClipboardClient> clipboard_client_;
98 scoped_ptr<webkit_glue::WebClipboardImpl> clipboard_; 100 scoped_ptr<webkit_glue::WebClipboardImpl> clipboard_;
99 101
(...skipping 17 matching lines...) Expand all
117 scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_; 119 scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_;
118 120
119 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; 121 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_;
120 122
121 scoped_ptr<WebFileSystemImpl> web_file_system_; 123 scoped_ptr<WebFileSystemImpl> web_file_system_;
122 124
123 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; 125 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_;
124 }; 126 };
125 127
126 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 128 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698