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 | |
38 namespace content { | 34 namespace content { |
39 class FlingCurveConfiguration; | 35 class FlingCurveConfiguration; |
40 class NotificationDispatcher; | 36 class NotificationDispatcher; |
41 class PushDispatcher; | 37 class PushDispatcher; |
42 class ThreadSafeSender; | 38 class ThreadSafeSender; |
43 class WebBluetoothImpl; | 39 class WebBluetoothImpl; |
44 class WebCryptoImpl; | 40 class WebCryptoImpl; |
45 class WebGeofencingProviderImpl; | 41 class WebGeofencingProviderImpl; |
46 | 42 |
47 class CONTENT_EXPORT BlinkPlatformImpl | 43 class CONTENT_EXPORT BlinkPlatformImpl |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 virtual void cryptographicallyRandomValues( | 142 virtual void cryptographicallyRandomValues( |
147 unsigned char* buffer, size_t length); | 143 unsigned char* buffer, size_t length); |
148 virtual void setSharedTimerFiredFunction(void (*func)()); | 144 virtual void setSharedTimerFiredFunction(void (*func)()); |
149 virtual void setSharedTimerFireInterval(double interval_seconds); | 145 virtual void setSharedTimerFireInterval(double interval_seconds); |
150 virtual void stopSharedTimer(); | 146 virtual void stopSharedTimer(); |
151 virtual void callOnMainThread(void (*func)(void*), void* context); | 147 virtual void callOnMainThread(void (*func)(void*), void* context); |
152 virtual blink::WebGestureCurve* createFlingAnimationCurve( | 148 virtual blink::WebGestureCurve* createFlingAnimationCurve( |
153 blink::WebGestureDevice device_source, | 149 blink::WebGestureDevice device_source, |
154 const blink::WebFloatPoint& velocity, | 150 const blink::WebFloatPoint& velocity, |
155 const blink::WebSize& cumulative_scroll); | 151 const blink::WebSize& cumulative_scroll); |
156 virtual void didStartWorkerRunLoop( | |
157 const blink::WebWorkerRunLoop& runLoop); | |
158 virtual void didStopWorkerRunLoop( | |
159 const blink::WebWorkerRunLoop& runLoop); | |
160 virtual void didStartWorkerRunLoop(); | 152 virtual void didStartWorkerRunLoop(); |
161 virtual void didStopWorkerRunLoop(); | 153 virtual void didStopWorkerRunLoop(); |
162 virtual blink::WebCrypto* crypto(); | 154 virtual blink::WebCrypto* crypto(); |
163 virtual blink::WebGeofencingProvider* geofencingProvider(); | 155 virtual blink::WebGeofencingProvider* geofencingProvider(); |
164 virtual blink::WebBluetooth* bluetooth(); | 156 virtual blink::WebBluetooth* bluetooth(); |
165 virtual blink::WebNotificationManager* notificationManager(); | 157 virtual blink::WebNotificationManager* notificationManager(); |
166 virtual blink::WebPushProvider* pushProvider(); | 158 virtual blink::WebPushProvider* pushProvider(); |
167 virtual blink::WebNavigatorConnectProvider* navigatorConnectProvider(); | 159 virtual blink::WebNavigatorConnectProvider* navigatorConnectProvider(); |
168 | 160 |
169 void SuspendSharedTimer(); | 161 void SuspendSharedTimer(); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 scoped_ptr<WebBluetoothImpl> bluetooth_; | 193 scoped_ptr<WebBluetoothImpl> bluetooth_; |
202 | 194 |
203 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 195 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
204 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 196 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
205 scoped_refptr<PushDispatcher> push_dispatcher_; | 197 scoped_refptr<PushDispatcher> push_dispatcher_; |
206 }; | 198 }; |
207 | 199 |
208 } // namespace content | 200 } // namespace content |
209 | 201 |
210 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 202 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |