| 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 27 matching lines...) Expand all Loading... |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 namespace scheduler { | 40 namespace scheduler { |
| 41 class WebThreadBase; | 41 class WebThreadBase; |
| 42 } | 42 } |
| 43 } | 43 } |
| 44 | 44 |
| 45 namespace content { | 45 namespace content { |
| 46 | 46 |
| 47 class NotificationDispatcher; | 47 class NotificationDispatcher; |
| 48 class PushDispatcher; | |
| 49 class ThreadSafeSender; | 48 class ThreadSafeSender; |
| 50 class WebCryptoImpl; | 49 class WebCryptoImpl; |
| 51 | 50 |
| 52 class CONTENT_EXPORT BlinkPlatformImpl | 51 class CONTENT_EXPORT BlinkPlatformImpl |
| 53 : NON_EXPORTED_BASE(public blink::Platform) { | 52 : NON_EXPORTED_BASE(public blink::Platform) { |
| 54 public: | 53 public: |
| 55 BlinkPlatformImpl(); | 54 BlinkPlatformImpl(); |
| 56 explicit BlinkPlatformImpl( | 55 explicit BlinkPlatformImpl( |
| 57 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner); | 56 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner); |
| 58 ~BlinkPlatformImpl() override; | 57 ~BlinkPlatformImpl() override; |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 bool IsMainThread() const; | 129 bool IsMainThread() const; |
| 131 | 130 |
| 132 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; | 131 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; |
| 133 WebThemeEngineImpl native_theme_engine_; | 132 WebThemeEngineImpl native_theme_engine_; |
| 134 WebFallbackThemeEngineImpl fallback_theme_engine_; | 133 WebFallbackThemeEngineImpl fallback_theme_engine_; |
| 135 base::ThreadLocalStorage::Slot current_thread_slot_; | 134 base::ThreadLocalStorage::Slot current_thread_slot_; |
| 136 webcrypto::WebCryptoImpl web_crypto_; | 135 webcrypto::WebCryptoImpl web_crypto_; |
| 137 | 136 |
| 138 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 137 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| 139 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 138 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
| 140 scoped_refptr<PushDispatcher> push_dispatcher_; | |
| 141 | 139 |
| 142 blink::scheduler::WebThreadBase* compositor_thread_; | 140 blink::scheduler::WebThreadBase* compositor_thread_; |
| 143 }; | 141 }; |
| 144 | 142 |
| 145 } // namespace content | 143 } // namespace content |
| 146 | 144 |
| 147 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 145 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |