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/common/content_export.h" | 20 #include "content/common/content_export.h" |
20 #include "content/common/url_loader_factory.mojom.h" | 21 #include "content/common/url_loader_factory.mojom.h" |
21 #include "content/renderer/origin_trials/web_trial_token_validator_impl.h" | 22 #include "content/renderer/origin_trials/web_trial_token_validator_impl.h" |
22 #include "content/renderer/top_level_blame_context.h" | 23 #include "content/renderer/top_level_blame_context.h" |
23 #include "content/renderer/webpublicsuffixlist_impl.h" | 24 #include "content/renderer/webpublicsuffixlist_impl.h" |
24 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h" | 25 #include "third_party/WebKit/public/platform/modules/indexeddb/WebIDBFactory.h" |
25 #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" |
26 | 27 |
27 namespace cc { | 28 namespace cc { |
28 class ContextProvider; | 29 class ContextProvider; |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 | 284 |
284 std::unique_ptr<blink::WebBlobRegistry> blob_registry_; | 285 std::unique_ptr<blink::WebBlobRegistry> blob_registry_; |
285 | 286 |
286 WebPublicSuffixListImpl public_suffix_list_; | 287 WebPublicSuffixListImpl public_suffix_list_; |
287 | 288 |
288 scoped_refptr<base::SingleThreadTaskRunner> default_task_runner_; | 289 scoped_refptr<base::SingleThreadTaskRunner> default_task_runner_; |
289 scoped_refptr<base::SingleThreadTaskRunner> loading_task_runner_; | 290 scoped_refptr<base::SingleThreadTaskRunner> loading_task_runner_; |
290 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; | 291 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; |
291 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 292 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
292 scoped_refptr<QuotaMessageFilter> quota_message_filter_; | 293 scoped_refptr<QuotaMessageFilter> quota_message_filter_; |
| 294 ChildSharedBitmapManager* shared_bitmap_manager_; |
293 | 295 |
294 std::unique_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; | 296 std::unique_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; |
295 | 297 |
296 cc_blink::WebCompositorSupportImpl compositor_support_; | 298 cc_blink::WebCompositorSupportImpl compositor_support_; |
297 | 299 |
298 std::unique_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_; | 300 std::unique_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_; |
299 | 301 |
300 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; | 302 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; |
301 | 303 |
302 blink::scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED | 304 blink::scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED |
303 TopLevelBlameContext top_level_blame_context_; | 305 TopLevelBlameContext top_level_blame_context_; |
304 | 306 |
305 WebTrialTokenValidatorImpl trial_token_validator_; | 307 WebTrialTokenValidatorImpl trial_token_validator_; |
306 | 308 |
307 std::unique_ptr<LocalStorageCachedAreas> local_storage_cached_areas_; | 309 std::unique_ptr<LocalStorageCachedAreas> local_storage_cached_areas_; |
308 | 310 |
309 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; | 311 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; |
310 | 312 |
311 mojom::URLLoaderFactoryPtr url_loader_factory_; | 313 mojom::URLLoaderFactoryPtr url_loader_factory_; |
312 | 314 |
313 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); | 315 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); |
314 }; | 316 }; |
315 | 317 |
316 } // namespace content | 318 } // namespace content |
317 | 319 |
318 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 320 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |