| 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/debug/trace_event.h" | 9 #include "base/debug/trace_event.h" |
| 10 #include "base/threading/thread_local_storage.h" | 10 #include "base/threading/thread_local_storage.h" |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 virtual void stopSharedTimer(); | 141 virtual void stopSharedTimer(); |
| 142 virtual void callOnMainThread(void (*func)(void*), void* context); | 142 virtual void callOnMainThread(void (*func)(void*), void* context); |
| 143 virtual blink::WebGestureCurve* createFlingAnimationCurve( | 143 virtual blink::WebGestureCurve* createFlingAnimationCurve( |
| 144 blink::WebGestureDevice device_source, | 144 blink::WebGestureDevice device_source, |
| 145 const blink::WebFloatPoint& velocity, | 145 const blink::WebFloatPoint& velocity, |
| 146 const blink::WebSize& cumulative_scroll) OVERRIDE; | 146 const blink::WebSize& cumulative_scroll) OVERRIDE; |
| 147 virtual void didStartWorkerRunLoop( | 147 virtual void didStartWorkerRunLoop( |
| 148 const blink::WebWorkerRunLoop& runLoop) OVERRIDE; | 148 const blink::WebWorkerRunLoop& runLoop) OVERRIDE; |
| 149 virtual void didStopWorkerRunLoop( | 149 virtual void didStopWorkerRunLoop( |
| 150 const blink::WebWorkerRunLoop& runLoop) OVERRIDE; | 150 const blink::WebWorkerRunLoop& runLoop) OVERRIDE; |
| 151 virtual void didStartWorkerThread( |
| 152 blink::WebThread* thread); |
| 153 virtual void didStopWorkerThread( |
| 154 blink::WebThread* thread); |
| 151 virtual blink::WebCrypto* crypto() OVERRIDE; | 155 virtual blink::WebCrypto* crypto() OVERRIDE; |
| 152 | 156 |
| 153 void SetFlingCurveParameters(const std::vector<float>& new_touchpad, | 157 void SetFlingCurveParameters(const std::vector<float>& new_touchpad, |
| 154 const std::vector<float>& new_touchscreen); | 158 const std::vector<float>& new_touchscreen); |
| 155 | 159 |
| 156 void SuspendSharedTimer(); | 160 void SuspendSharedTimer(); |
| 157 void ResumeSharedTimer(); | 161 void ResumeSharedTimer(); |
| 158 virtual void OnStartSharedTimer(base::TimeDelta delay) {} | 162 virtual void OnStartSharedTimer(base::TimeDelta delay) {} |
| 159 | 163 |
| 160 private: | 164 private: |
| (...skipping 13 matching lines...) Expand all Loading... |
| 174 bool shared_timer_fire_time_was_set_while_suspended_; | 178 bool shared_timer_fire_time_was_set_while_suspended_; |
| 175 int shared_timer_suspended_; // counter | 179 int shared_timer_suspended_; // counter |
| 176 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; | 180 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; |
| 177 base::ThreadLocalStorage::Slot current_thread_slot_; | 181 base::ThreadLocalStorage::Slot current_thread_slot_; |
| 178 WebCryptoImpl web_crypto_; | 182 WebCryptoImpl web_crypto_; |
| 179 }; | 183 }; |
| 180 | 184 |
| 181 } // namespace content | 185 } // namespace content |
| 182 | 186 |
| 183 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 187 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |