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 |
11 #include <memory> | 11 #include <memory> |
12 | 12 |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/id_map.h" | 14 #include "base/id_map.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "build/build_config.h" | 16 #include "build/build_config.h" |
17 #include "cc/blink/web_compositor_support_impl.h" | 17 #include "cc/blink/web_compositor_support_impl.h" |
18 #include "content/child/blink_platform_impl.h" | 18 #include "content/child/blink_platform_impl.h" |
19 #include "content/child/child_shared_bitmap_manager.h" | 19 #include "content/child/child_shared_bitmap_manager.h" |
20 #include "content/common/content_export.h" | 20 #include "content/common/content_export.h" |
21 #include "content/common/url_loader_factory.mojom.h" | 21 #include "content/common/url_loader_factory.mojom.h" |
22 #include "content/renderer/origin_trials/web_trial_token_validator_impl.h" | 22 #include "content/renderer/origin_trials/web_trial_token_validator_impl.h" |
23 #include "content/renderer/top_level_blame_context.h" | 23 #include "content/renderer/top_level_blame_context.h" |
24 #include "content/renderer/webpublicsuffixlist_impl.h" | 24 #include "content/renderer/webpublicsuffixlist_impl.h" |
25 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h" | 25 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h" |
26 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree
nOrientationType.h" | 26 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree
nOrientationType.h" |
27 | 27 |
28 namespace cc { | |
29 class ContextProvider; | |
30 } | |
31 | |
32 namespace IPC { | 28 namespace IPC { |
33 class SyncMessageFilter; | 29 class SyncMessageFilter; |
34 } | 30 } |
35 | 31 |
36 namespace blink { | 32 namespace blink { |
37 namespace scheduler { | 33 namespace scheduler { |
38 class RendererScheduler; | 34 class RendererScheduler; |
39 class WebThreadImplForRendererScheduler; | |
40 } | 35 } |
41 class WebCanvasCaptureHandler; | 36 class WebCanvasCaptureHandler; |
42 class WebDeviceMotionData; | 37 class WebDeviceMotionData; |
43 class WebDeviceOrientationData; | 38 class WebDeviceOrientationData; |
44 class WebGraphicsContext3DProvider; | 39 class WebGraphicsContext3DProvider; |
45 class WebMediaPlayer; | 40 class WebMediaPlayer; |
46 class WebMediaRecorderHandler; | 41 class WebMediaRecorderHandler; |
47 class WebMediaStream; | 42 class WebMediaStream; |
48 class WebSecurityOrigin; | 43 class WebSecurityOrigin; |
49 class WebServiceWorkerCacheStorage; | 44 class WebServiceWorkerCacheStorage; |
50 } | 45 } |
51 | 46 |
52 namespace service_manager { | 47 namespace service_manager { |
53 class InterfaceProvider; | 48 class InterfaceProvider; |
54 } | 49 } |
55 | 50 |
56 namespace content { | 51 namespace content { |
57 class BlinkInterfaceProviderImpl; | 52 class BlinkInterfaceProviderImpl; |
58 class LocalStorageCachedAreas; | 53 class LocalStorageCachedAreas; |
59 class PlatformEventObserverBase; | 54 class PlatformEventObserverBase; |
60 class QuotaMessageFilter; | 55 class QuotaMessageFilter; |
61 class RendererClipboardDelegate; | 56 class RendererClipboardDelegate; |
62 class RenderView; | |
63 class ThreadSafeSender; | 57 class ThreadSafeSender; |
64 class WebClipboardImpl; | 58 class WebClipboardImpl; |
65 class WebDatabaseObserverImpl; | 59 class WebDatabaseObserverImpl; |
66 class WebFileSystemImpl; | |
67 | 60 |
68 class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl { | 61 class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl { |
69 public: | 62 public: |
70 RendererBlinkPlatformImpl( | 63 RendererBlinkPlatformImpl( |
71 blink::scheduler::RendererScheduler* renderer_scheduler, | 64 blink::scheduler::RendererScheduler* renderer_scheduler, |
72 base::WeakPtr<service_manager::InterfaceProvider> remote_interfaces); | 65 base::WeakPtr<service_manager::InterfaceProvider> remote_interfaces); |
73 ~RendererBlinkPlatformImpl() override; | 66 ~RendererBlinkPlatformImpl() override; |
74 | 67 |
75 // Shutdown must be called just prior to shutting down blink. | 68 // Shutdown must be called just prior to shutting down blink. |
76 void Shutdown(); | 69 void Shutdown(); |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; | 305 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; |
313 | 306 |
314 mojom::URLLoaderFactoryAssociatedPtr url_loader_factory_; | 307 mojom::URLLoaderFactoryAssociatedPtr url_loader_factory_; |
315 | 308 |
316 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); | 309 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); |
317 }; | 310 }; |
318 | 311 |
319 } // namespace content | 312 } // namespace content |
320 | 313 |
321 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 314 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |