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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 blink::WebLocalizedString::Name name, | 142 blink::WebLocalizedString::Name name, |
143 const blink::WebString& value1, const blink::WebString& value2); | 143 const blink::WebString& value1, const blink::WebString& value2); |
144 virtual void suddenTerminationChanged(bool enabled) { } | 144 virtual void suddenTerminationChanged(bool enabled) { } |
145 virtual double currentTime(); | 145 virtual double currentTime(); |
146 virtual double monotonicallyIncreasingTime(); | 146 virtual double monotonicallyIncreasingTime(); |
147 virtual void cryptographicallyRandomValues( | 147 virtual void cryptographicallyRandomValues( |
148 unsigned char* buffer, size_t length); | 148 unsigned char* buffer, size_t length); |
149 virtual void setSharedTimerFiredFunction(void (*func)()); | 149 virtual void setSharedTimerFiredFunction(void (*func)()); |
150 virtual void setSharedTimerFireInterval(double interval_seconds); | 150 virtual void setSharedTimerFireInterval(double interval_seconds); |
151 virtual void stopSharedTimer(); | 151 virtual void stopSharedTimer(); |
152 virtual void callOnMainThread(void (*func)(void*), void* context); | |
153 virtual blink::WebGestureCurve* createFlingAnimationCurve( | 152 virtual blink::WebGestureCurve* createFlingAnimationCurve( |
154 blink::WebGestureDevice device_source, | 153 blink::WebGestureDevice device_source, |
155 const blink::WebFloatPoint& velocity, | 154 const blink::WebFloatPoint& velocity, |
156 const blink::WebSize& cumulative_scroll); | 155 const blink::WebSize& cumulative_scroll); |
157 virtual void didStartWorkerRunLoop(); | 156 virtual void didStartWorkerRunLoop(); |
158 virtual void didStopWorkerRunLoop(); | 157 virtual void didStopWorkerRunLoop(); |
159 virtual blink::WebCrypto* crypto(); | 158 virtual blink::WebCrypto* crypto(); |
160 virtual blink::WebGeofencingProvider* geofencingProvider(); | 159 virtual blink::WebGeofencingProvider* geofencingProvider(); |
161 virtual blink::WebBluetooth* bluetooth(); | 160 virtual blink::WebBluetooth* bluetooth(); |
162 virtual blink::WebNotificationManager* notificationManager(); | 161 virtual blink::WebNotificationManager* notificationManager(); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 | 200 |
202 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 201 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
203 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 202 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
204 scoped_refptr<PushDispatcher> push_dispatcher_; | 203 scoped_refptr<PushDispatcher> push_dispatcher_; |
205 scoped_ptr<PermissionDispatcher> permission_client_; | 204 scoped_ptr<PermissionDispatcher> permission_client_; |
206 }; | 205 }; |
207 | 206 |
208 } // namespace content | 207 } // namespace content |
209 | 208 |
210 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 209 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |