| 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 30 matching lines...) Expand all Loading... |
| 41 class WebMediaStream; | 41 class WebMediaStream; |
| 42 class WebSecurityOrigin; | 42 class WebSecurityOrigin; |
| 43 class WebServiceWorkerCacheStorage; | 43 class WebServiceWorkerCacheStorage; |
| 44 } | 44 } |
| 45 | 45 |
| 46 namespace scheduler { | 46 namespace scheduler { |
| 47 class RendererScheduler; | 47 class RendererScheduler; |
| 48 class WebThreadImplForRendererScheduler; | 48 class WebThreadImplForRendererScheduler; |
| 49 } | 49 } |
| 50 | 50 |
| 51 namespace shell { |
| 52 class InterfaceProvider; |
| 53 } |
| 54 |
| 51 namespace content { | 55 namespace content { |
| 52 class BlinkServiceRegistryImpl; | 56 class BlinkServiceRegistryImpl; |
| 53 class DeviceLightEventPump; | 57 class DeviceLightEventPump; |
| 54 class DeviceMotionEventPump; | 58 class DeviceMotionEventPump; |
| 55 class DeviceOrientationEventPump; | 59 class DeviceOrientationEventPump; |
| 56 class LocalStorageCachedAreas; | 60 class LocalStorageCachedAreas; |
| 57 class PlatformEventObserverBase; | 61 class PlatformEventObserverBase; |
| 58 class QuotaMessageFilter; | 62 class QuotaMessageFilter; |
| 59 class RendererClipboardDelegate; | 63 class RendererClipboardDelegate; |
| 60 class RenderView; | 64 class RenderView; |
| 61 class ServiceRegistry; | |
| 62 class ThreadSafeSender; | 65 class ThreadSafeSender; |
| 63 class WebClipboardImpl; | 66 class WebClipboardImpl; |
| 64 class WebDatabaseObserverImpl; | 67 class WebDatabaseObserverImpl; |
| 65 class WebFileSystemImpl; | 68 class WebFileSystemImpl; |
| 66 | 69 |
| 67 class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl { | 70 class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl { |
| 68 public: | 71 public: |
| 69 RendererBlinkPlatformImpl(scheduler::RendererScheduler* renderer_scheduler, | 72 RendererBlinkPlatformImpl( |
| 70 base::WeakPtr<ServiceRegistry> service_registry); | 73 scheduler::RendererScheduler* renderer_scheduler, |
| 74 base::WeakPtr<shell::InterfaceProvider> remote_interfaces); |
| 71 ~RendererBlinkPlatformImpl() override; | 75 ~RendererBlinkPlatformImpl() override; |
| 72 | 76 |
| 73 // Shutdown must be called just prior to shutting down blink. | 77 // Shutdown must be called just prior to shutting down blink. |
| 74 void Shutdown(); | 78 void Shutdown(); |
| 75 | 79 |
| 76 void set_plugin_refresh_allowed(bool plugin_refresh_allowed) { | 80 void set_plugin_refresh_allowed(bool plugin_refresh_allowed) { |
| 77 plugin_refresh_allowed_ = plugin_refresh_allowed; | 81 plugin_refresh_allowed_ = plugin_refresh_allowed; |
| 78 } | 82 } |
| 79 // Platform methods: | 83 // Platform methods: |
| 80 blink::WebClipboard* clipboard() override; | 84 blink::WebClipboard* clipboard() override; |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 std::unique_ptr<LocalStorageCachedAreas> local_storage_cached_areas_; | 312 std::unique_ptr<LocalStorageCachedAreas> local_storage_cached_areas_; |
| 309 | 313 |
| 310 std::unique_ptr<BlinkServiceRegistryImpl> blink_service_registry_; | 314 std::unique_ptr<BlinkServiceRegistryImpl> blink_service_registry_; |
| 311 | 315 |
| 312 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); | 316 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); |
| 313 }; | 317 }; |
| 314 | 318 |
| 315 } // namespace content | 319 } // namespace content |
| 316 | 320 |
| 317 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 321 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |