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 "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/threading/thread_local_storage.h" | 9 #include "base/threading/thread_local_storage.h" |
10 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
11 #include "base/trace_event/trace_event.h" | 11 #include "base/trace_event/trace_event.h" |
12 #include "content/child/webcrypto/webcrypto_impl.h" | 12 #include "components/webcrypto/webcrypto_impl.h" |
13 #include "content/child/webfallbackthemeengine_impl.h" | 13 #include "content/child/webfallbackthemeengine_impl.h" |
14 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
15 #include "third_party/WebKit/public/platform/Platform.h" | 15 #include "third_party/WebKit/public/platform/Platform.h" |
16 #include "third_party/WebKit/public/platform/WebGestureDevice.h" | 16 #include "third_party/WebKit/public/platform/WebGestureDevice.h" |
17 #include "third_party/WebKit/public/platform/WebURLError.h" | 17 #include "third_party/WebKit/public/platform/WebURLError.h" |
18 #include "ui/base/layout.h" | 18 #include "ui/base/layout.h" |
19 | 19 |
20 #if defined(USE_DEFAULT_RENDER_THEME) | 20 #if defined(USE_DEFAULT_RENDER_THEME) |
21 #include "content/child/webthemeengine_impl_default.h" | 21 #include "content/child/webthemeengine_impl_default.h" |
22 #elif defined(OS_WIN) | 22 #elif defined(OS_WIN) |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 | 186 |
187 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; | 187 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; |
188 WebThemeEngineImpl native_theme_engine_; | 188 WebThemeEngineImpl native_theme_engine_; |
189 WebFallbackThemeEngineImpl fallback_theme_engine_; | 189 WebFallbackThemeEngineImpl fallback_theme_engine_; |
190 base::OneShotTimer<BlinkPlatformImpl> shared_timer_; | 190 base::OneShotTimer<BlinkPlatformImpl> shared_timer_; |
191 void (*shared_timer_func_)(); | 191 void (*shared_timer_func_)(); |
192 double shared_timer_fire_time_; | 192 double shared_timer_fire_time_; |
193 bool shared_timer_fire_time_was_set_while_suspended_; | 193 bool shared_timer_fire_time_was_set_while_suspended_; |
194 int shared_timer_suspended_; // counter | 194 int shared_timer_suspended_; // counter |
195 base::ThreadLocalStorage::Slot current_thread_slot_; | 195 base::ThreadLocalStorage::Slot current_thread_slot_; |
196 WebCryptoImpl web_crypto_; | 196 webcrypto::WebCryptoImpl web_crypto_; |
197 scoped_ptr<WebGeofencingProviderImpl> geofencing_provider_; | 197 scoped_ptr<WebGeofencingProviderImpl> geofencing_provider_; |
198 scoped_ptr<WebBluetoothImpl> bluetooth_; | 198 scoped_ptr<WebBluetoothImpl> bluetooth_; |
199 | 199 |
200 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 200 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
201 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 201 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
202 scoped_refptr<PushDispatcher> push_dispatcher_; | 202 scoped_refptr<PushDispatcher> push_dispatcher_; |
203 scoped_ptr<PermissionDispatcher> permission_client_; | 203 scoped_ptr<PermissionDispatcher> permission_client_; |
204 }; | 204 }; |
205 | 205 |
206 } // namespace content | 206 } // namespace content |
207 | 207 |
208 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 208 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |