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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 | 283 |
283 std::unique_ptr<blink::WebBlobRegistry> blob_registry_; | 284 std::unique_ptr<blink::WebBlobRegistry> blob_registry_; |
284 | 285 |
285 WebPublicSuffixListImpl public_suffix_list_; | 286 WebPublicSuffixListImpl public_suffix_list_; |
286 | 287 |
287 scoped_refptr<base::SingleThreadTaskRunner> default_task_runner_; | 288 scoped_refptr<base::SingleThreadTaskRunner> default_task_runner_; |
288 scoped_refptr<base::SingleThreadTaskRunner> loading_task_runner_; | 289 scoped_refptr<base::SingleThreadTaskRunner> loading_task_runner_; |
289 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; | 290 scoped_refptr<IPC::SyncMessageFilter> sync_message_filter_; |
290 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 291 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
291 scoped_refptr<QuotaMessageFilter> quota_message_filter_; | 292 scoped_refptr<QuotaMessageFilter> quota_message_filter_; |
| 293 ChildSharedBitmapManager* shared_bitmap_manager_; |
292 | 294 |
293 std::unique_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; | 295 std::unique_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; |
294 | 296 |
295 cc_blink::WebCompositorSupportImpl compositor_support_; | 297 cc_blink::WebCompositorSupportImpl compositor_support_; |
296 | 298 |
297 std::unique_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_; | 299 std::unique_ptr<blink::WebScrollbarBehavior> web_scrollbar_behavior_; |
298 | 300 |
299 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; | 301 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; |
300 | 302 |
301 blink::scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED | 303 blink::scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED |
302 TopLevelBlameContext top_level_blame_context_; | 304 TopLevelBlameContext top_level_blame_context_; |
303 | 305 |
304 WebTrialTokenValidatorImpl trial_token_validator_; | 306 WebTrialTokenValidatorImpl trial_token_validator_; |
305 | 307 |
306 std::unique_ptr<LocalStorageCachedAreas> local_storage_cached_areas_; | 308 std::unique_ptr<LocalStorageCachedAreas> local_storage_cached_areas_; |
307 | 309 |
308 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; | 310 std::unique_ptr<BlinkInterfaceProviderImpl> blink_interface_provider_; |
309 | 311 |
310 mojom::URLLoaderFactoryPtr url_loader_factory_; | 312 mojom::URLLoaderFactoryPtr url_loader_factory_; |
311 | 313 |
312 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); | 314 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); |
313 }; | 315 }; |
314 | 316 |
315 } // namespace content | 317 } // namespace content |
316 | 318 |
317 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ | 319 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |