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