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 |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "content/child/webthemeengine_impl_default.h" | 26 #include "content/child/webthemeengine_impl_default.h" |
27 #elif defined(OS_WIN) | 27 #elif defined(OS_WIN) |
28 #include "content/child/webthemeengine_impl_win.h" | 28 #include "content/child/webthemeengine_impl_win.h" |
29 #elif defined(OS_MACOSX) | 29 #elif defined(OS_MACOSX) |
30 #include "content/child/webthemeengine_impl_mac.h" | 30 #include "content/child/webthemeengine_impl_mac.h" |
31 #elif defined(OS_ANDROID) | 31 #elif defined(OS_ANDROID) |
32 #include "content/child/webthemeengine_impl_android.h" | 32 #include "content/child/webthemeengine_impl_android.h" |
33 #endif | 33 #endif |
34 | 34 |
35 namespace base { | 35 namespace base { |
36 class MessageLoop; | |
37 class WaitableEvent; | 36 class WaitableEvent; |
38 } | 37 } |
39 | 38 |
40 namespace blink { | 39 namespace blink { |
41 namespace scheduler { | 40 namespace scheduler { |
42 class WebThreadBase; | 41 class WebThreadBase; |
43 } | 42 } |
44 } | 43 } |
45 | 44 |
46 namespace content { | 45 namespace content { |
47 class BackgroundSyncProvider; | 46 class BackgroundSyncProvider; |
48 class FlingCurveConfiguration; | |
49 class NotificationDispatcher; | 47 class NotificationDispatcher; |
50 class PushDispatcher; | 48 class PushDispatcher; |
51 class ThreadSafeSender; | 49 class ThreadSafeSender; |
52 class TraceLogObserverAdapter; | |
53 class WebCryptoImpl; | 50 class WebCryptoImpl; |
54 | 51 |
55 class CONTENT_EXPORT BlinkPlatformImpl | 52 class CONTENT_EXPORT BlinkPlatformImpl |
56 : NON_EXPORTED_BASE(public blink::Platform) { | 53 : NON_EXPORTED_BASE(public blink::Platform) { |
57 public: | 54 public: |
58 BlinkPlatformImpl(); | 55 BlinkPlatformImpl(); |
59 explicit BlinkPlatformImpl( | 56 explicit BlinkPlatformImpl( |
60 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner); | 57 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner); |
61 ~BlinkPlatformImpl() override; | 58 ~BlinkPlatformImpl() override; |
62 | 59 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 142 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
146 scoped_refptr<PushDispatcher> push_dispatcher_; | 143 scoped_refptr<PushDispatcher> push_dispatcher_; |
147 std::unique_ptr<BackgroundSyncProvider> main_thread_sync_provider_; | 144 std::unique_ptr<BackgroundSyncProvider> main_thread_sync_provider_; |
148 | 145 |
149 blink::scheduler::WebThreadBase* compositor_thread_; | 146 blink::scheduler::WebThreadBase* compositor_thread_; |
150 }; | 147 }; |
151 | 148 |
152 } // namespace content | 149 } // namespace content |
153 | 150 |
154 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 151 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |