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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 | 187 |
188 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; | 188 scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; |
189 WebThemeEngineImpl native_theme_engine_; | 189 WebThemeEngineImpl native_theme_engine_; |
190 WebFallbackThemeEngineImpl fallback_theme_engine_; | 190 WebFallbackThemeEngineImpl fallback_theme_engine_; |
191 base::OneShotTimer<BlinkPlatformImpl> shared_timer_; | 191 base::OneShotTimer<BlinkPlatformImpl> shared_timer_; |
192 void (*shared_timer_func_)(); | 192 void (*shared_timer_func_)(); |
193 double shared_timer_fire_time_; | 193 double shared_timer_fire_time_; |
194 bool shared_timer_fire_time_was_set_while_suspended_; | 194 bool shared_timer_fire_time_was_set_while_suspended_; |
195 int shared_timer_suspended_; // counter | 195 int shared_timer_suspended_; // counter |
196 base::ThreadLocalStorage::Slot current_thread_slot_; | 196 base::ThreadLocalStorage::Slot current_thread_slot_; |
197 WebCryptoImpl web_crypto_; | 197 webcrypto::WebCryptoImpl web_crypto_; |
198 scoped_ptr<WebGeofencingProviderImpl> geofencing_provider_; | 198 scoped_ptr<WebGeofencingProviderImpl> geofencing_provider_; |
199 scoped_ptr<WebBluetoothImpl> bluetooth_; | 199 scoped_ptr<WebBluetoothImpl> bluetooth_; |
200 | 200 |
201 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 201 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
202 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 202 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
203 scoped_refptr<PushDispatcher> push_dispatcher_; | 203 scoped_refptr<PushDispatcher> push_dispatcher_; |
204 scoped_ptr<PermissionDispatcher> permission_client_; | 204 scoped_ptr<PermissionDispatcher> permission_client_; |
205 }; | 205 }; |
206 | 206 |
207 } // namespace content | 207 } // namespace content |
208 | 208 |
209 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 209 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |