| OLD | NEW |
| 1 // // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // // Copyright 2013 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 WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_ | 5 #ifndef WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_ |
| 6 #define WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_ | 6 #define WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/threading/thread_local_storage.h" | 8 #include "base/threading/thread_local_storage.h" |
| 9 #include "webkit/child/webfallbackthemeengine_impl.h" | 9 #include "webkit/child/webfallbackthemeengine_impl.h" |
| 10 #include "webkit/child/webkit_child_export.h" | 10 #include "webkit/child/webkit_child_export.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 const std::vector<float>& new_touchscreen); | 39 const std::vector<float>& new_touchscreen); |
| 40 | 40 |
| 41 virtual blink::WebGestureCurve* createFlingAnimationCurve( | 41 virtual blink::WebGestureCurve* createFlingAnimationCurve( |
| 42 int device_source, | 42 int device_source, |
| 43 const blink::WebFloatPoint& velocity, | 43 const blink::WebFloatPoint& velocity, |
| 44 const blink::WebSize& cumulative_scroll) OVERRIDE; | 44 const blink::WebSize& cumulative_scroll) OVERRIDE; |
| 45 | 45 |
| 46 virtual blink::WebThread* createThread(const char* name); | 46 virtual blink::WebThread* createThread(const char* name); |
| 47 virtual blink::WebThread* currentThread(); | 47 virtual blink::WebThread* currentThread(); |
| 48 | 48 |
| 49 virtual blink::WebWaitableEvent* createWaitableEvent(); |
| 50 virtual blink::WebWaitableEvent* waitMultipleEvents( |
| 51 blink::WebWaitableEvent** events, |
| 52 size_t event_count); |
| 53 |
| 49 virtual void didStartWorkerRunLoop( | 54 virtual void didStartWorkerRunLoop( |
| 50 const blink::WebWorkerRunLoop& runLoop) OVERRIDE; | 55 const blink::WebWorkerRunLoop& runLoop) OVERRIDE; |
| 51 virtual void didStopWorkerRunLoop( | 56 virtual void didStopWorkerRunLoop( |
| 52 const blink::WebWorkerRunLoop& runLoop) OVERRIDE; | 57 const blink::WebWorkerRunLoop& runLoop) OVERRIDE; |
| 53 | 58 |
| 54 virtual blink::WebDiscardableMemory* allocateAndLockDiscardableMemory( | 59 virtual blink::WebDiscardableMemory* allocateAndLockDiscardableMemory( |
| 55 size_t bytes); | 60 size_t bytes); |
| 56 | 61 |
| 57 private: | 62 private: |
| 58 static void DestroyCurrentThread(void*); | 63 static void DestroyCurrentThread(void*); |
| 59 | 64 |
| 60 WebThemeEngineImpl native_theme_engine_; | 65 WebThemeEngineImpl native_theme_engine_; |
| 61 WebFallbackThemeEngineImpl fallback_theme_engine_; | 66 WebFallbackThemeEngineImpl fallback_theme_engine_; |
| 62 base::ThreadLocalStorage::Slot current_thread_slot_; | 67 base::ThreadLocalStorage::Slot current_thread_slot_; |
| 63 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; | 68 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; |
| 64 }; | 69 }; |
| 65 | 70 |
| 66 } // namespace webkit_glue | 71 } // namespace webkit_glue |
| 67 | 72 |
| 68 #endif // WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_ | 73 #endif // WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_CHILD_IMPL_H_ |
| OLD | NEW |