| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 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 | 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 PlatformGestureCurveTarget_h | 5 #ifndef PlatformGestureCurveTarget_h |
| 6 #define PlatformGestureCurveTarget_h | 6 #define PlatformGestureCurveTarget_h |
| 7 | 7 |
| 8 namespace WebCore { | 8 namespace WebCore { |
| 9 | 9 |
| 10 class IntPoint; | 10 class IntPoint; |
| 11 | 11 |
| 12 class PlatformGestureCurveTarget { | 12 class PlatformGestureCurveTarget { |
| 13 public: | 13 public: |
| 14 virtual void scrollBy(const IntPoint&) = 0; | 14 virtual void scrollBy(const IntPoint&) = 0; |
| 15 // FIXME: add interfaces for scroll(), etc. | 15 // FIXME: add interfaces for scroll(), etc. |
| 16 | 16 |
| 17 protected: | 17 protected: |
| 18 virtual ~PlatformGestureCurveTarget() { } | 18 virtual ~PlatformGestureCurveTarget() { } |
| 19 }; | 19 }; |
| 20 | 20 |
| 21 } // namespace WebCore | 21 } // namespace WebCore |
| 22 | 22 |
| 23 #endif | 23 #endif |
| OLD | NEW |