| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_GLUE_FLINGCURVECONFIGURATION_H_ | 5 #ifndef WEBKIT_GLUE_FLINGCURVECONFIGURATION_H_ |
| 6 #define WEBKIT_GLUE_FLINGCURVECONFIGURATION_H_ | 6 #define WEBKIT_GLUE_FLINGCURVECONFIGURATION_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/synchronization/lock.h" | 10 #include "base/synchronization/lock.h" |
| 11 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h" | 11 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
| 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" | 12 #include "third_party/WebKit/public/platform/WebSize.h" |
| 13 | 13 |
| 14 namespace WebKit { | 14 namespace WebKit { |
| 15 class WebGestureCurve; | 15 class WebGestureCurve; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace webkit_glue { | 18 namespace webkit_glue { |
| 19 | 19 |
| 20 // A class to manage dynamically adjustable parameters controlling the | 20 // A class to manage dynamically adjustable parameters controlling the |
| 21 // shape of the fling deacceleration function. | 21 // shape of the fling deacceleration function. |
| 22 class FlingCurveConfiguration { | 22 class FlingCurveConfiguration { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 49 base::Lock lock_; | 49 base::Lock lock_; |
| 50 std::vector<float> touchpad_coefs_; | 50 std::vector<float> touchpad_coefs_; |
| 51 std::vector<float> touchscreen_coefs_; | 51 std::vector<float> touchscreen_coefs_; |
| 52 | 52 |
| 53 DISALLOW_COPY_AND_ASSIGN(FlingCurveConfiguration); | 53 DISALLOW_COPY_AND_ASSIGN(FlingCurveConfiguration); |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 } // namespace webkit_glue | 56 } // namespace webkit_glue |
| 57 | 57 |
| 58 #endif // WEBKIT_GLUE_FLINGCURVECONFIGURATION_H_ | 58 #endif // WEBKIT_GLUE_FLINGCURVECONFIGURATION_H_ |
| OLD | NEW |