Chromium Code Reviews| Index: content/port/browser/smooth_scroll_gesture.h |
| diff --git a/content/port/browser/smooth_scroll_gesture.h b/content/port/browser/smooth_scroll_gesture.h |
| index 4e2c1d908f411e0e6d63b49c6e96798d7f86b665..e356da66d34a00855e29879e7f48881de73cbd06 100644 |
| --- a/content/port/browser/smooth_scroll_gesture.h |
| +++ b/content/port/browser/smooth_scroll_gesture.h |
| @@ -14,10 +14,9 @@ class RenderWidgetHost; |
| // This is a base class representing a single scroll gesture. These gestures are |
| // paired with the rendering benchmarking system to (automatically) measure how |
| -// smoothnly chrome is responding to user input. |
| +// smoothly chrome is responding to user input. |
| class SmoothScrollGesture : public base::RefCounted<SmoothScrollGesture> { |
| public: |
| - |
| // When called, the gesture should compute its state at the provided timestamp |
| // and send the right input events to the provided RenderWidgetHost to |
| // simulate the gesture having run up to that point in time. |
| @@ -29,6 +28,11 @@ class SmoothScrollGesture : public base::RefCounted<SmoothScrollGesture> { |
| protected: |
| friend class base::RefCounted<SmoothScrollGesture>; |
| virtual ~SmoothScrollGesture() {} |
| + |
| + double GetScrollDelta(base::TimeTicks now, base::TimeDelta desired_interval); |
|
jam
2013/05/02 15:56:17
content/port also follows the same API rules as co
|
| + |
| + private: |
| + base::TimeTicks last_tick_time_; |
| }; |
| } // namespace content |