| OLD | NEW |
| (Empty) |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CCGestureCurve_h | |
| 6 #define CCGestureCurve_h | |
| 7 | |
| 8 namespace WebCore { | |
| 9 | |
| 10 class IntPoint; | |
| 11 | |
| 12 class CCGestureCurveTarget { | |
| 13 public: | |
| 14 virtual ~CCGestureCurveTarget() { } | |
| 15 | |
| 16 virtual void scrollBy(const IntPoint&) = 0; | |
| 17 // FIXME: add interfaces for scroll(), etc. | |
| 18 }; | |
| 19 | |
| 20 class CCGestureCurve { | |
| 21 public: | |
| 22 virtual ~CCGestureCurve() { } | |
| 23 | |
| 24 virtual const char* debugName() const = 0; | |
| 25 | |
| 26 virtual bool apply(double monotonicTime, CCGestureCurveTarget*) = 0; | |
| 27 }; | |
| 28 | |
| 29 } // namespace WebCore | |
| 30 | |
| 31 #endif | |
| OLD | NEW |