Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Unified Diff: content/port/browser/render_widget_host_view_port.h

Issue 20045007: Use DidOverscrollParams in the browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase... Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/input/input_event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/port/browser/render_widget_host_view_port.h
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h
index 3b860c7e6a56382862eff02db389087e4a49c8db..2eb90cf04eeae4aef7e79d5e038a052696fc5e6a 100644
--- a/content/port/browser/render_widget_host_view_port.h
+++ b/content/port/browser/render_widget_host_view_port.h
@@ -44,6 +44,7 @@ class RenderWidgetHostViewFrameSubscriber;
class SyntheticGesture;
class SyntheticGestureTarget;
class WebCursor;
+struct DidOverscrollParams;
struct WebPluginGeometry;
struct NativeWebKeyboardEvent;
@@ -308,8 +309,7 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView,
virtual void GestureEventAck(const blink::WebGestureEvent& event,
InputEventAckState ack_result) = 0;
- virtual void OnOverscrolled(gfx::Vector2dF accumulated_overscroll,
- gfx::Vector2dF current_fling_velocity) = 0;
+ virtual void DidOverscroll(const DidOverscrollParams& params) = 0;
jam 2014/04/25 05:09:07 any struct used in content/port must be in content
jdduke (slow) 2014/04/25 14:44:33 Hmm, I wonder if I should remove this method entir
virtual void DidStopFlinging() = 0;
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/input/input_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698