| Index: content/renderer/render_widget.h
|
| diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
|
| index d540148c81f86134baab219f1d74162c0e0b6eea..264129c05afc195ba4169c5b72a5f71d332d459d 100644
|
| --- a/content/renderer/render_widget.h
|
| +++ b/content/renderer/render_widget.h
|
| @@ -180,7 +180,7 @@ class CONTENT_EXPORT RenderWidget
|
| // Directs the host to begin a smooth scroll. This scroll should have the same
|
| // performance characteristics as a user-initiated scroll. Returns an ID of
|
| // the scroll gesture.
|
| - void BeginSmoothScroll(bool scroll_down,
|
| + bool BeginSmoothScroll(bool scroll_down,
|
| const SmoothScrollCompletionCallback& callback,
|
| int pixels_to_scroll,
|
| int mouse_event_x,
|
| @@ -298,7 +298,7 @@ class CONTENT_EXPORT RenderWidget
|
| const gfx::Size& page_size,
|
| const gfx::Size& desired_size);
|
| void OnRepaint(const gfx::Size& size_to_paint);
|
| - void OnSmoothScrollCompleted(int gesture_id);
|
| + void OnSmoothScrollCompleted();
|
| void OnSetTextDirection(WebKit::WebTextDirection direction);
|
| void OnGetFPS();
|
| void OnScreenInfoChanged(const WebKit::WebScreenInfo& screen_info);
|
| @@ -642,10 +642,7 @@ class CONTENT_EXPORT RenderWidget
|
| bool throttle_input_events_;
|
|
|
| // State associated with the BeginSmoothScroll synthetic scrolling function.
|
| - int next_smooth_scroll_gesture_id_;
|
| - typedef std::map<int, SmoothScrollCompletionCallback>
|
| - PendingSmoothScrollGestureMap;
|
| - PendingSmoothScrollGestureMap pending_smooth_scroll_gestures_;
|
| + SmoothScrollCompletionCallback pending_smooth_scroll_gesture_;
|
|
|
| // Specified whether the compositor will run in its own thread.
|
| bool is_threaded_compositing_enabled_;
|
|
|