| 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); | |
| 155 virtual blink::WebCrypto* crypto() OVERRIDE; | 151 virtual blink::WebCrypto* crypto() OVERRIDE; |
| 156 | 152 |
| 157 void SetFlingCurveParameters(const std::vector<float>& new_touchpad, | 153 void SetFlingCurveParameters(const std::vector<float>& new_touchpad, |
| 158 const std::vector<float>& new_touchscreen); | 154 const std::vector<float>& new_touchscreen); |
| 159 | 155 |
| 160 void SuspendSharedTimer(); | 156 void SuspendSharedTimer(); |
| 161 void ResumeSharedTimer(); | 157 void ResumeSharedTimer(); |
| 162 virtual void OnStartSharedTimer(base::TimeDelta delay) {} | 158 virtual void OnStartSharedTimer(base::TimeDelta delay) {} |
| 163 | 159 |
| 164 private: | 160 private: |
| (...skipping 13 matching lines...) Expand all Loading... |
| 178 bool shared_timer_fire_time_was_set_while_suspended_; | 174 bool shared_timer_fire_time_was_set_while_suspended_; |
| 179 int shared_timer_suspended_; // counter | 175 int shared_timer_suspended_; // counter |
| 180 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; | 176 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; |
| 181 base::ThreadLocalStorage::Slot current_thread_slot_; | 177 base::ThreadLocalStorage::Slot current_thread_slot_; |
| 182 WebCryptoImpl web_crypto_; | 178 WebCryptoImpl web_crypto_; |
| 183 }; | 179 }; |
| 184 | 180 |
| 185 } // namespace content | 181 } // namespace content |
| 186 | 182 |
| 187 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 183 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |