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 14 matching lines...) Expand all Loading... |
25 | 25 |
26 namespace cc { | 26 namespace cc { |
27 class ContextProvider; | 27 class ContextProvider; |
28 } | 28 } |
29 | 29 |
30 namespace IPC { | 30 namespace IPC { |
31 class SyncMessageFilter; | 31 class SyncMessageFilter; |
32 } | 32 } |
33 | 33 |
34 namespace blink { | 34 namespace blink { |
| 35 namespace scheduler { |
| 36 class RendererScheduler; |
| 37 class WebThreadImplForRendererScheduler; |
| 38 } |
35 class WebCanvasCaptureHandler; | 39 class WebCanvasCaptureHandler; |
36 class WebDeviceMotionData; | 40 class WebDeviceMotionData; |
37 class WebDeviceOrientationData; | 41 class WebDeviceOrientationData; |
38 class WebGraphicsContext3DProvider; | 42 class WebGraphicsContext3DProvider; |
39 class WebMediaPlayer; | 43 class WebMediaPlayer; |
40 class WebMediaRecorderHandler; | 44 class WebMediaRecorderHandler; |
41 class WebMediaStream; | 45 class WebMediaStream; |
42 class WebSecurityOrigin; | 46 class WebSecurityOrigin; |
43 class WebServiceWorkerCacheStorage; | 47 class WebServiceWorkerCacheStorage; |
44 } | 48 } |
45 | 49 |
46 namespace scheduler { | |
47 class RendererScheduler; | |
48 class WebThreadImplForRendererScheduler; | |
49 } | |
50 | |
51 namespace shell { | 50 namespace shell { |
52 class InterfaceProvider; | 51 class InterfaceProvider; |
53 } | 52 } |
54 | 53 |
55 namespace content { | 54 namespace content { |
56 class BlinkInterfaceProviderImpl; | 55 class BlinkInterfaceProviderImpl; |
57 class LocalStorageCachedAreas; | 56 class LocalStorageCachedAreas; |
58 class PlatformEventObserverBase; | 57 class PlatformEventObserverBase; |
59 class QuotaMessageFilter; | 58 class QuotaMessageFilter; |
60 class RendererClipboardDelegate; | 59 class RendererClipboardDelegate; |
61 class RenderView; | 60 class RenderView; |
62 class ThreadSafeSender; | 61 class ThreadSafeSender; |
63 class WebClipboardImpl; | 62 class WebClipboardImpl; |
64 class WebDatabaseObserverImpl; | 63 class WebDatabaseObserverImpl; |
65 class WebFileSystemImpl; | 64 class WebFileSystemImpl; |
66 | 65 |
67 class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl { | 66 class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl { |
68 public: | 67 public: |
69 RendererBlinkPlatformImpl( | 68 RendererBlinkPlatformImpl( |
70 scheduler::RendererScheduler* renderer_scheduler, | 69 blink::scheduler::RendererScheduler* renderer_scheduler, |
71 base::WeakPtr<shell::InterfaceProvider> remote_interfaces); | 70 base::WeakPtr<shell::InterfaceProvider> remote_interfaces); |
72 ~RendererBlinkPlatformImpl() override; | 71 ~RendererBlinkPlatformImpl() override; |
73 | 72 |
74 // Shutdown must be called just prior to shutting down blink. | 73 // Shutdown must be called just prior to shutting down blink. |
75 void Shutdown(); | 74 void Shutdown(); |
76 | 75 |
77 void set_plugin_refresh_allowed(bool plugin_refresh_allowed) { | 76 void set_plugin_refresh_allowed(bool plugin_refresh_allowed) { |
78 plugin_refresh_allowed_ = plugin_refresh_allowed; | 77 plugin_refresh_allowed_ = plugin_refresh_allowed; |
79 } | 78 } |
80 // Platform methods: | 79 // Platform methods: |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 scoped_refptr<QuotaMessageFilter> quota_message_filter_; | 288 scoped_refptr<QuotaMessageFilter> quota_message_filter_; |
290 | 289 |
291 std::unique_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; | 290 std::unique_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; |
292 | 291 |
293 cc_blink::WebCompositorSupportImpl compositor_support_; | 292 cc_blink::WebCompositorSupportImpl compositor_support_; |
294 | 293 |
295 std::unique_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_; | 294 std::unique_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_; |
296 | 295 |
297 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; | 296 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; |
298 | 297 |
299 scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED | 298 blink::scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED |
300 TopLevelBlameContext top_level_blame_context_; | 299 TopLevelBlameContext top_level_blame_context_; |
301 | 300 |
302 WebTrialTokenValidatorImpl trial_token_validator_; | 301 WebTrialTokenValidatorImpl trial_token_validator_; |
303 | 302 |
304 std::unique_ptr<LocalStorageCachedAreas> local_storage_cached_areas_; | 303 std::unique_ptr<LocalStorageCachedAreas> local_storage_cached_areas_; |
305 | 304 |
306 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; | 305 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; |
307 | 306 |
308 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); | 307 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); |
309 }; | 308 }; |
310 | 309 |
311 } // namespace content | 310 } // namespace content |
312 | 311 |
313 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 312 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |