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" |
(...skipping 12 matching lines...) Expand all Loading... |
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 WebDeviceMotionData; | 30 class WebDeviceMotionData; |
31 class WebDeviceOrientationData; | 31 class WebDeviceOrientationData; |
32 class WebGraphicsContext3DProvider; | 32 class WebGraphicsContext3DProvider; |
| 33 class WebMediaRecorderHandler; |
33 class WebServiceWorkerCacheStorage; | 34 class WebServiceWorkerCacheStorage; |
34 } | 35 } |
35 | 36 |
36 namespace scheduler { | 37 namespace scheduler { |
37 class RendererScheduler; | 38 class RendererScheduler; |
38 class WebThreadImplForRendererScheduler; | 39 class WebThreadImplForRendererScheduler; |
39 } | 40 } |
40 | 41 |
41 namespace content { | 42 namespace content { |
42 class BatteryStatusDispatcher; | 43 class BatteryStatusDispatcher; |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 121 |
121 virtual bool loadAudioResource( | 122 virtual bool loadAudioResource( |
122 blink::WebAudioBus* destination_bus, const char* audio_file_data, | 123 blink::WebAudioBus* destination_bus, const char* audio_file_data, |
123 size_t data_size); | 124 size_t data_size); |
124 | 125 |
125 virtual blink::WebMIDIAccessor* | 126 virtual blink::WebMIDIAccessor* |
126 createMIDIAccessor(blink::WebMIDIAccessorClient* client); | 127 createMIDIAccessor(blink::WebMIDIAccessorClient* client); |
127 | 128 |
128 virtual blink::WebBlobRegistry* blobRegistry(); | 129 virtual blink::WebBlobRegistry* blobRegistry(); |
129 virtual void sampleGamepads(blink::WebGamepads&); | 130 virtual void sampleGamepads(blink::WebGamepads&); |
| 131 virtual blink::WebMediaRecorderHandler* createMediaRecorderHandler(); |
130 virtual blink::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( | 132 virtual blink::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( |
131 blink::WebRTCPeerConnectionHandlerClient* client); | 133 blink::WebRTCPeerConnectionHandlerClient* client); |
132 virtual blink::WebMediaStreamCenter* createMediaStreamCenter( | 134 virtual blink::WebMediaStreamCenter* createMediaStreamCenter( |
133 blink::WebMediaStreamCenterClient* client); | 135 blink::WebMediaStreamCenterClient* client); |
134 virtual bool processMemorySizesInBytes( | 136 virtual bool processMemorySizesInBytes( |
135 size_t* private_bytes, size_t* shared_bytes); | 137 size_t* private_bytes, size_t* shared_bytes); |
136 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( | 138 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
137 const blink::WebGraphicsContext3D::Attributes& attributes); | 139 const blink::WebGraphicsContext3D::Attributes& attributes); |
138 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( | 140 virtual blink::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
139 const blink::WebGraphicsContext3D::Attributes& attributes, | 141 const blink::WebGraphicsContext3D::Attributes& attributes, |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 device::VibrationManagerPtr vibration_manager_; | 262 device::VibrationManagerPtr vibration_manager_; |
261 | 263 |
262 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; | 264 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; |
263 | 265 |
264 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); | 266 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); |
265 }; | 267 }; |
266 | 268 |
267 } // namespace content | 269 } // namespace content |
268 | 270 |
269 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 271 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |