| 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" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #elif defined(OS_MACOSX) | 24 #elif defined(OS_MACOSX) |
| 25 #include "content/child/webthemeengine_impl_mac.h" | 25 #include "content/child/webthemeengine_impl_mac.h" |
| 26 #elif defined(OS_ANDROID) | 26 #elif defined(OS_ANDROID) |
| 27 #include "content/child/webthemeengine_impl_android.h" | 27 #include "content/child/webthemeengine_impl_android.h" |
| 28 #endif | 28 #endif |
| 29 | 29 |
| 30 namespace base { | 30 namespace base { |
| 31 class MessageLoop; | 31 class MessageLoop; |
| 32 } | 32 } |
| 33 | 33 |
| 34 namespace blink { |
| 35 class WebWorkerRunLoop; |
| 36 } |
| 37 |
| 34 namespace content { | 38 namespace content { |
| 35 class FlingCurveConfiguration; | 39 class FlingCurveConfiguration; |
| 36 class NotificationDispatcher; | 40 class NotificationDispatcher; |
| 37 class PushDispatcher; | 41 class PushDispatcher; |
| 38 class ThreadSafeSender; | 42 class ThreadSafeSender; |
| 39 class WebBluetoothImpl; | 43 class WebBluetoothImpl; |
| 40 class WebCryptoImpl; | 44 class WebCryptoImpl; |
| 41 class WebGeofencingProviderImpl; | 45 class WebGeofencingProviderImpl; |
| 42 | 46 |
| 43 class CONTENT_EXPORT BlinkPlatformImpl | 47 class CONTENT_EXPORT BlinkPlatformImpl |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 virtual void stopSharedTimer(); | 150 virtual void stopSharedTimer(); |
| 147 virtual void callOnMainThread(void (*func)(void*), void* context); | 151 virtual void callOnMainThread(void (*func)(void*), void* context); |
| 148 virtual blink::WebGestureCurve* createFlingAnimationCurve( | 152 virtual blink::WebGestureCurve* createFlingAnimationCurve( |
| 149 blink::WebGestureDevice device_source, | 153 blink::WebGestureDevice device_source, |
| 150 const blink::WebFloatPoint& velocity, | 154 const blink::WebFloatPoint& velocity, |
| 151 const blink::WebSize& cumulative_scroll); | 155 const blink::WebSize& cumulative_scroll); |
| 152 virtual void didStartWorkerRunLoop( | 156 virtual void didStartWorkerRunLoop( |
| 153 const blink::WebWorkerRunLoop& runLoop); | 157 const blink::WebWorkerRunLoop& runLoop); |
| 154 virtual void didStopWorkerRunLoop( | 158 virtual void didStopWorkerRunLoop( |
| 155 const blink::WebWorkerRunLoop& runLoop); | 159 const blink::WebWorkerRunLoop& runLoop); |
| 160 virtual void didStartWorkerRunLoop(); |
| 161 virtual void didStopWorkerRunLoop(); |
| 156 virtual blink::WebCrypto* crypto(); | 162 virtual blink::WebCrypto* crypto(); |
| 157 virtual blink::WebGeofencingProvider* geofencingProvider(); | 163 virtual blink::WebGeofencingProvider* geofencingProvider(); |
| 158 virtual blink::WebBluetooth* bluetooth(); | 164 virtual blink::WebBluetooth* bluetooth(); |
| 159 virtual blink::WebNotificationManager* notificationManager(); | 165 virtual blink::WebNotificationManager* notificationManager(); |
| 160 virtual blink::WebPushProvider* pushProvider(); | 166 virtual blink::WebPushProvider* pushProvider(); |
| 161 virtual blink::WebNavigatorConnectProvider* navigatorConnectProvider(); | 167 virtual blink::WebNavigatorConnectProvider* navigatorConnectProvider(); |
| 162 | 168 |
| 163 void SuspendSharedTimer(); | 169 void SuspendSharedTimer(); |
| 164 void ResumeSharedTimer(); | 170 void ResumeSharedTimer(); |
| 165 virtual void OnStartSharedTimer(base::TimeDelta delay) {} | 171 virtual void OnStartSharedTimer(base::TimeDelta delay) {} |
| (...skipping 29 matching lines...) Expand all Loading... |
| 195 scoped_ptr<WebBluetoothImpl> bluetooth_; | 201 scoped_ptr<WebBluetoothImpl> bluetooth_; |
| 196 | 202 |
| 197 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 203 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| 198 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 204 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
| 199 scoped_refptr<PushDispatcher> push_dispatcher_; | 205 scoped_refptr<PushDispatcher> push_dispatcher_; |
| 200 }; | 206 }; |
| 201 | 207 |
| 202 } // namespace content | 208 } // namespace content |
| 203 | 209 |
| 204 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 210 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |