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" | |
20 #include "content/common/content_export.h" | 19 #include "content/common/content_export.h" |
21 #include "content/common/url_loader_factory.mojom.h" | 20 #include "content/common/url_loader_factory.mojom.h" |
22 #include "content/renderer/origin_trials/web_trial_token_validator_impl.h" | 21 #include "content/renderer/origin_trials/web_trial_token_validator_impl.h" |
23 #include "content/renderer/top_level_blame_context.h" | 22 #include "content/renderer/top_level_blame_context.h" |
24 #include "content/renderer/webpublicsuffixlist_impl.h" | 23 #include "content/renderer/webpublicsuffixlist_impl.h" |
| 24 #include "services/ui/public/cpp/bitmap/child_shared_bitmap_manager.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 IPC { | 28 namespace IPC { |
29 class SyncMessageFilter; | 29 class SyncMessageFilter; |
30 } | 30 } |
31 | 31 |
32 namespace blink { | 32 namespace blink { |
33 namespace scheduler { | 33 namespace scheduler { |
34 class RendererScheduler; | 34 class RendererScheduler; |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 | 276 |
277 std::unique_ptr<blink::WebBlobRegistry> blob_registry_; | 277 std::unique_ptr<blink::WebBlobRegistry> blob_registry_; |
278 | 278 |
279 WebPublicSuffixListImpl public_suffix_list_; | 279 WebPublicSuffixListImpl public_suffix_list_; |
280 | 280 |
281 scoped_refptr<base::SingleThreadTaskRunner> default_task_runner_; | 281 scoped_refptr<base::SingleThreadTaskRunner> default_task_runner_; |
282 scoped_refptr<base::SingleThreadTaskRunner> loading_task_runner_; | 282 scoped_refptr<base::SingleThreadTaskRunner> loading_task_runner_; |
283 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; | 283 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; |
284 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 284 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
285 scoped_refptr<QuotaMessageFilter> quota_message_filter_; | 285 scoped_refptr<QuotaMessageFilter> quota_message_filter_; |
286 ChildSharedBitmapManager* shared_bitmap_manager_; | 286 ui::ChildSharedBitmapManager* shared_bitmap_manager_; |
287 | 287 |
288 std::unique_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; | 288 std::unique_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; |
289 | 289 |
290 cc_blink::WebCompositorSupportImpl compositor_support_; | 290 cc_blink::WebCompositorSupportImpl compositor_support_; |
291 | 291 |
292 std::unique_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_; | 292 std::unique_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_; |
293 | 293 |
294 IDMap<std::unique_ptr<PlatformEventObserverBase>> platform_event_observers_; | 294 IDMap<std::unique_ptr<PlatformEventObserverBase>> platform_event_observers_; |
295 | 295 |
296 blink::scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED | 296 blink::scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED |
297 TopLevelBlameContext top_level_blame_context_; | 297 TopLevelBlameContext top_level_blame_context_; |
298 | 298 |
299 WebTrialTokenValidatorImpl trial_token_validator_; | 299 WebTrialTokenValidatorImpl trial_token_validator_; |
300 | 300 |
301 std::unique_ptr<LocalStorageCachedAreas> local_storage_cached_areas_; | 301 std::unique_ptr<LocalStorageCachedAreas> local_storage_cached_areas_; |
302 | 302 |
303 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; | 303 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; |
304 | 304 |
305 mojom::URLLoaderFactoryAssociatedPtr url_loader_factory_; | 305 mojom::URLLoaderFactoryAssociatedPtr url_loader_factory_; |
306 | 306 |
307 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); | 307 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); |
308 }; | 308 }; |
309 | 309 |
310 } // namespace content | 310 } // namespace content |
311 | 311 |
312 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 312 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |