| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 namespace blink { | 33 namespace blink { |
| 34 class WebBatteryStatus; | 34 class WebBatteryStatus; |
| 35 class WebCanvasCaptureHandler; | 35 class WebCanvasCaptureHandler; |
| 36 class WebDeviceMotionData; | 36 class WebDeviceMotionData; |
| 37 class WebDeviceOrientationData; | 37 class WebDeviceOrientationData; |
| 38 class WebGraphicsContext3DProvider; | 38 class WebGraphicsContext3DProvider; |
| 39 class WebMediaRecorderHandler; | 39 class WebMediaRecorderHandler; |
| 40 class WebMediaStream; | 40 class WebMediaStream; |
| 41 class WebServiceWorkerCacheStorage; | 41 class WebServiceWorkerCacheStorage; |
| 42 class WebFontAccess; |
| 42 } | 43 } |
| 43 | 44 |
| 44 namespace scheduler { | 45 namespace scheduler { |
| 45 class RendererScheduler; | 46 class RendererScheduler; |
| 46 class WebThreadImplForRendererScheduler; | 47 class WebThreadImplForRendererScheduler; |
| 47 } | 48 } |
| 48 | 49 |
| 49 namespace content { | 50 namespace content { |
| 50 class BatteryStatusDispatcher; | 51 class BatteryStatusDispatcher; |
| 51 class DeviceLightEventPump; | 52 class DeviceLightEventPump; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 blink::WebServiceWorkerCacheStorage* cacheStorage( | 121 blink::WebServiceWorkerCacheStorage* cacheStorage( |
| 121 const blink::WebString& origin_identifier) override; | 122 const blink::WebString& origin_identifier) override; |
| 122 blink::WebFileSystem* fileSystem() override; | 123 blink::WebFileSystem* fileSystem() override; |
| 123 bool canAccelerate2dCanvas() override; | 124 bool canAccelerate2dCanvas() override; |
| 124 bool isThreadedCompositingEnabled() override; | 125 bool isThreadedCompositingEnabled() override; |
| 125 bool isThreadedAnimationEnabled() override; | 126 bool isThreadedAnimationEnabled() override; |
| 126 double audioHardwareSampleRate() override; | 127 double audioHardwareSampleRate() override; |
| 127 size_t audioHardwareBufferSize() override; | 128 size_t audioHardwareBufferSize() override; |
| 128 unsigned audioHardwareOutputChannels() override; | 129 unsigned audioHardwareOutputChannels() override; |
| 129 blink::WebDatabaseObserver* databaseObserver() override; | 130 blink::WebDatabaseObserver* databaseObserver() override; |
| 131 blink::WebFontAccess* fontAccess() override; |
| 130 | 132 |
| 131 blink::WebAudioDevice* createAudioDevice( | 133 blink::WebAudioDevice* createAudioDevice( |
| 132 size_t buffer_size, | 134 size_t buffer_size, |
| 133 unsigned input_channels, | 135 unsigned input_channels, |
| 134 unsigned channels, | 136 unsigned channels, |
| 135 double sample_rate, | 137 double sample_rate, |
| 136 blink::WebAudioDevice::RenderCallback* callback, | 138 blink::WebAudioDevice::RenderCallback* callback, |
| 137 const blink::WebString& input_device_id) override; | 139 const blink::WebString& input_device_id) override; |
| 138 | 140 |
| 139 bool loadAudioResource(blink::WebAudioBus* destination_bus, | 141 bool loadAudioResource(blink::WebAudioBus* destination_bus, |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 scoped_refptr<QuotaMessageFilter> quota_message_filter_; | 279 scoped_refptr<QuotaMessageFilter> quota_message_filter_; |
| 278 | 280 |
| 279 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; | 281 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; |
| 280 | 282 |
| 281 cc_blink::WebCompositorSupportImpl compositor_support_; | 283 cc_blink::WebCompositorSupportImpl compositor_support_; |
| 282 | 284 |
| 283 scoped_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_; | 285 scoped_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_; |
| 284 | 286 |
| 285 scoped_ptr<BatteryStatusDispatcher> battery_status_dispatcher_; | 287 scoped_ptr<BatteryStatusDispatcher> battery_status_dispatcher_; |
| 286 | 288 |
| 289 scoped_ptr<blink::WebFontAccess> web_font_access_; |
| 290 |
| 287 // Handle to the Vibration mojo service. | 291 // Handle to the Vibration mojo service. |
| 288 device::VibrationManagerPtr vibration_manager_; | 292 device::VibrationManagerPtr vibration_manager_; |
| 289 | 293 |
| 290 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; | 294 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; |
| 291 | 295 |
| 292 scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED | 296 scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED |
| 293 | 297 |
| 294 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); | 298 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); |
| 295 }; | 299 }; |
| 296 | 300 |
| 297 } // namespace content | 301 } // namespace content |
| 298 | 302 |
| 299 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 303 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |