| 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..3b7bec7675ae971bb6fb6325d5d8878f68971331 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 Tick(base::TimeTicks now, double desired_interval_ms);
|
| +
|
| + private:
|
| + base::TimeTicks last_tick_time_;
|
| };
|
|
|
| } // namespace content
|
|
|