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_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 Loading... |
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 double frame_rate, |
| 149 blink::WebMediaStream* stream) override; |
144 blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( | 150 blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
145 const blink::WebGraphicsContext3D::Attributes& attributes) override; | 151 const blink::WebGraphicsContext3D::Attributes& attributes) override; |
146 blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( | 152 blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
147 const blink::WebGraphicsContext3D::Attributes& attributes, | 153 const blink::WebGraphicsContext3D::Attributes& attributes, |
148 blink::WebGraphicsContext3D* share_context) override; | 154 blink::WebGraphicsContext3D* share_context) override; |
149 blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( | 155 blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
150 const blink::WebGraphicsContext3D::Attributes& attributes, | 156 const blink::WebGraphicsContext3D::Attributes& attributes, |
151 blink::WebGraphicsContext3D* share_context, | 157 blink::WebGraphicsContext3D* share_context, |
152 blink::WebGraphicsContext3D::WebGraphicsInfo* gl_info) override; | 158 blink::WebGraphicsContext3D::WebGraphicsInfo* gl_info) override; |
153 blink::WebGraphicsContext3DProvider* | 159 blink::WebGraphicsContext3DProvider* |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; | 282 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; |
277 | 283 |
278 scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED | 284 scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED |
279 | 285 |
280 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); | 286 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); |
281 }; | 287 }; |
282 | 288 |
283 } // namespace content | 289 } // namespace content |
284 | 290 |
285 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 291 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |