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

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 plus implementation of WebKit::WebUserMediaClient. Created 9 years, 1 month 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 virtual double audioHardwareSampleRate(); 82 virtual double audioHardwareSampleRate();
83 virtual size_t audioHardwareBufferSize(); 83 virtual size_t audioHardwareBufferSize();
84 virtual WebKit::WebAudioDevice* createAudioDevice( 84 virtual WebKit::WebAudioDevice* createAudioDevice(
85 size_t buffer_size, unsigned channels, double sample_rate, 85 size_t buffer_size, unsigned channels, double sample_rate,
86 WebKit::WebAudioDevice::RenderCallback* callback); 86 WebKit::WebAudioDevice::RenderCallback* callback);
87 87
88 virtual WebKit::WebBlobRegistry* blobRegistry(); 88 virtual WebKit::WebBlobRegistry* blobRegistry();
89 89
90 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); 90 virtual WebKit::WebString userAgent(const WebKit::WebURL& url);
91 91
92 virtual WebKit::WebPeerConnectionHandler* createPeerConnectionHandler(
93 WebKit::WebPeerConnectionHandlerClient* client);
94
92 private: 95 private:
93 bool CheckPreparsedJsCachingEnabled() const; 96 bool CheckPreparsedJsCachingEnabled() const;
94 97
95 // Helper function to send synchronous message from any thread. 98 // Helper function to send synchronous message from any thread.
96 static bool SendSyncMessageFromAnyThread(IPC::SyncMessage* msg); 99 static bool SendSyncMessageFromAnyThread(IPC::SyncMessage* msg);
97 100
98 scoped_ptr<webkit_glue::WebClipboardImpl> clipboard_; 101 scoped_ptr<webkit_glue::WebClipboardImpl> clipboard_;
99 102
100 class FileUtilities; 103 class FileUtilities;
101 scoped_ptr<FileUtilities> file_utilities_; 104 scoped_ptr<FileUtilities> file_utilities_;
(...skipping 15 matching lines...) Expand all
117 scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_; 120 scoped_ptr<WebSharedWorkerRepositoryImpl> shared_worker_repository_;
118 121
119 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_; 122 scoped_ptr<WebKit::WebIDBFactory> web_idb_factory_;
120 123
121 scoped_ptr<WebFileSystemImpl> web_file_system_; 124 scoped_ptr<WebFileSystemImpl> web_file_system_;
122 125
123 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_; 126 scoped_ptr<WebKit::WebBlobRegistry> blob_registry_;
124 }; 127 };
125 128
126 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_ 129 #endif // CONTENT_RENDERER_RENDERER_WEBKITPLATFORMSUPPORT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698