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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 virtual blink::WebString queryLocalizedString( | 137 virtual blink::WebString queryLocalizedString( |
138 blink::WebLocalizedString::Name name, int numeric_value); | 138 blink::WebLocalizedString::Name name, int numeric_value); |
139 virtual blink::WebString queryLocalizedString( | 139 virtual blink::WebString queryLocalizedString( |
140 blink::WebLocalizedString::Name name, const blink::WebString& value); | 140 blink::WebLocalizedString::Name name, const blink::WebString& value); |
141 virtual blink::WebString queryLocalizedString( | 141 virtual blink::WebString queryLocalizedString( |
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 double systemTraceTime(); |
147 virtual void cryptographicallyRandomValues( | 148 virtual void cryptographicallyRandomValues( |
148 unsigned char* buffer, size_t length); | 149 unsigned char* buffer, size_t length); |
149 virtual void setSharedTimerFiredFunction(void (*func)()); | 150 virtual void setSharedTimerFiredFunction(void (*func)()); |
150 virtual void setSharedTimerFireInterval(double interval_seconds); | 151 virtual void setSharedTimerFireInterval(double interval_seconds); |
151 virtual void stopSharedTimer(); | 152 virtual void stopSharedTimer(); |
152 virtual void callOnMainThread(void (*func)(void*), void* context); | 153 virtual void callOnMainThread(void (*func)(void*), void* context); |
153 virtual blink::WebGestureCurve* createFlingAnimationCurve( | 154 virtual blink::WebGestureCurve* createFlingAnimationCurve( |
154 blink::WebGestureDevice device_source, | 155 blink::WebGestureDevice device_source, |
155 const blink::WebFloatPoint& velocity, | 156 const blink::WebFloatPoint& velocity, |
156 const blink::WebSize& cumulative_scroll); | 157 const blink::WebSize& cumulative_scroll); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 | 202 |
202 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 203 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
203 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 204 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
204 scoped_refptr<PushDispatcher> push_dispatcher_; | 205 scoped_refptr<PushDispatcher> push_dispatcher_; |
205 scoped_ptr<PermissionDispatcher> permission_client_; | 206 scoped_ptr<PermissionDispatcher> permission_client_; |
206 }; | 207 }; |
207 | 208 |
208 } // namespace content | 209 } // namespace content |
209 | 210 |
210 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 211 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |