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

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

Issue 1467103003: Basic use implementation for MediaStream from Canvas: captureStream() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: perkj@ comments. Created 5 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) 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_BLINK_PLATFORM_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/id_map.h" 9 #include "base/id_map.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "cc/blink/web_compositor_support_impl.h" 11 #include "cc/blink/web_compositor_support_impl.h"
12 #include "content/child/blink_platform_impl.h" 12 #include "content/child/blink_platform_impl.h"
13 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
14 #include "content/renderer/webpublicsuffixlist_impl.h" 14 #include "content/renderer/webpublicsuffixlist_impl.h"
15 #include "device/vibration/vibration_manager.mojom.h" 15 #include "device/vibration/vibration_manager.mojom.h"
16 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" 16 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
17 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h" 17 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h"
18 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree nOrientationType.h" 18 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree nOrientationType.h"
19 19
20 namespace cc { 20 namespace cc {
21 class ContextProvider; 21 class ContextProvider;
22 } 22 }
23 23
24 namespace IPC { 24 namespace IPC {
25 class SyncMessageFilter; 25 class SyncMessageFilter;
26 } 26 }
27 27
28 namespace blink { 28 namespace blink {
29 class WebBatteryStatus; 29 class WebBatteryStatus;
30 class WebCanvasCaptureHandler;
30 class WebDeviceMotionData; 31 class WebDeviceMotionData;
31 class WebDeviceOrientationData; 32 class WebDeviceOrientationData;
32 class WebGraphicsContext3DProvider; 33 class WebGraphicsContext3DProvider;
33 class WebMediaRecorderHandler; 34 class WebMediaRecorderHandler;
35 class WebMediaStream;
34 class WebServiceWorkerCacheStorage; 36 class WebServiceWorkerCacheStorage;
35 } 37 }
36 38
37 namespace scheduler { 39 namespace scheduler {
38 class RendererScheduler; 40 class RendererScheduler;
39 class WebThreadImplForRendererScheduler; 41 class WebThreadImplForRendererScheduler;
40 } 42 }
41 43
42 namespace content { 44 namespace content {
43 class BatteryStatusDispatcher; 45 class BatteryStatusDispatcher;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 blink::WebMIDIAccessorClient* client) override; 136 blink::WebMIDIAccessorClient* client) override;
135 137
136 blink::WebBlobRegistry* blobRegistry() override; 138 blink::WebBlobRegistry* blobRegistry() override;
137 void sampleGamepads(blink::WebGamepads&) override; 139 void sampleGamepads(blink::WebGamepads&) override;
138 blink::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( 140 blink::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(
139 blink::WebRTCPeerConnectionHandlerClient* client) override; 141 blink::WebRTCPeerConnectionHandlerClient* client) override;
140 blink::WebRTCCertificateGenerator* createRTCCertificateGenerator() override; 142 blink::WebRTCCertificateGenerator* createRTCCertificateGenerator() override;
141 blink::WebMediaRecorderHandler* createMediaRecorderHandler() override; 143 blink::WebMediaRecorderHandler* createMediaRecorderHandler() override;
142 blink::WebMediaStreamCenter* createMediaStreamCenter( 144 blink::WebMediaStreamCenter* createMediaStreamCenter(
143 blink::WebMediaStreamCenterClient* client) override; 145 blink::WebMediaStreamCenterClient* client) override;
146 blink::WebCanvasCaptureHandler* createCanvasCaptureHandler(
147 const blink::WebSize& size,
148 blink::WebMediaStream* stream) override;
144 blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( 149 blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D(
145 const blink::WebGraphicsContext3D::Attributes& attributes) override; 150 const blink::WebGraphicsContext3D::Attributes& attributes) override;
146 blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( 151 blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D(
147 const blink::WebGraphicsContext3D::Attributes& attributes, 152 const blink::WebGraphicsContext3D::Attributes& attributes,
148 blink::WebGraphicsContext3D* share_context) override; 153 blink::WebGraphicsContext3D* share_context) override;
149 blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( 154 blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D(
150 const blink::WebGraphicsContext3D::Attributes& attributes, 155 const blink::WebGraphicsContext3D::Attributes& attributes,
151 blink::WebGraphicsContext3D* share_context, 156 blink::WebGraphicsContext3D* share_context,
152 blink::WebGraphicsContext3D::WebGraphicsInfo* gl_info) override; 157 blink::WebGraphicsContext3D::WebGraphicsInfo* gl_info) override;
153 blink::WebGraphicsContext3DProvider* 158 blink::WebGraphicsContext3DProvider*
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; 281 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_;
277 282
278 scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED 283 scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED
279 284
280 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); 285 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl);
281 }; 286 };
282 287
283 } // namespace content 288 } // namespace content
284 289
285 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 290 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698