OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHILD_BLINK_PLATFORM_IMPL_H_ | 5 #ifndef CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 6 #define CONTENT_CHILD_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 "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/containers/scoped_ptr_hash_map.h" | 12 #include "base/containers/scoped_ptr_hash_map.h" |
13 #include "base/threading/thread_local_storage.h" | 13 #include "base/threading/thread_local_storage.h" |
14 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
15 #include "base/trace_event/trace_event.h" | 15 #include "base/trace_event/trace_event.h" |
16 #include "build/build_config.h" | 16 #include "build/build_config.h" |
17 #include "components/webcrypto/webcrypto_impl.h" | 17 #include "components/webcrypto/webcrypto_impl.h" |
18 #include "content/child/webfallbackthemeengine_impl.h" | 18 #include "content/child/webfallbackthemeengine_impl.h" |
19 #include "content/common/content_export.h" | 19 #include "content/common/content_export.h" |
20 #include "third_party/WebKit/public/platform/Platform.h" | 20 #include "third_party/WebKit/public/platform/Platform.h" |
21 #include "third_party/WebKit/public/platform/WebGestureDevice.h" | 21 #include "third_party/WebKit/public/platform/WebGestureDevice.h" |
22 #include "third_party/WebKit/public/platform/WebURLError.h" | 22 #include "third_party/WebKit/public/platform/WebURLError.h" |
| 23 #include "third_party/WebKit/public/public_features.h" |
23 #include "ui/base/layout.h" | 24 #include "ui/base/layout.h" |
24 | 25 |
25 #if defined(USE_DEFAULT_RENDER_THEME) | 26 #if BUILDFLAG(USE_DEFAULT_RENDER_THEME) |
26 #include "content/child/webthemeengine_impl_default.h" | 27 #include "content/child/webthemeengine_impl_default.h" |
27 #elif defined(OS_WIN) | 28 #elif defined(OS_WIN) |
28 #include "content/child/webthemeengine_impl_win.h" | 29 #include "content/child/webthemeengine_impl_win.h" |
29 #elif defined(OS_MACOSX) | 30 #elif defined(OS_MACOSX) |
30 #include "content/child/webthemeengine_impl_mac.h" | 31 #include "content/child/webthemeengine_impl_mac.h" |
31 #elif defined(OS_ANDROID) | 32 #elif defined(OS_ANDROID) |
32 #include "content/child/webthemeengine_impl_android.h" | 33 #include "content/child/webthemeengine_impl_android.h" |
33 #endif | 34 #endif |
34 | 35 |
35 namespace base { | 36 namespace base { |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 143 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
143 scoped_refptr<PushDispatcher> push_dispatcher_; | 144 scoped_refptr<PushDispatcher> push_dispatcher_; |
144 std::unique_ptr<BackgroundSyncProvider> main_thread_sync_provider_; | 145 std::unique_ptr<BackgroundSyncProvider> main_thread_sync_provider_; |
145 | 146 |
146 blink::scheduler::WebThreadBase* compositor_thread_; | 147 blink::scheduler::WebThreadBase* compositor_thread_; |
147 }; | 148 }; |
148 | 149 |
149 } // namespace content | 150 } // namespace content |
150 | 151 |
151 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 152 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |