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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 2918053002: Move middle-click autoscroll to synthetic fling. (Closed)
Patch Set: Delete redundant cursor shape print Created 3 years, 6 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
Index: content/browser/renderer_host/render_widget_host_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index 5877cdad75d19b74e2c61c3968ae2b96de7bc271..05b83da6f7f4528dce08c3c46badfde1e86d692c 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -77,6 +77,7 @@ struct BeginFrameAck;
namespace gfx {
class Image;
class Range;
+class Vector2dF;
}
namespace content {
@@ -663,6 +664,9 @@ class CONTENT_EXPORT RenderWidgetHostImpl
void OnUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
void OnQueueSyntheticGesture(const SyntheticGesturePacket& gesture_packet);
void OnSetCursor(const WebCursor& cursor);
+ void OnAutoscrollStart(const gfx::PointF& position);
+ void OnAutoscrollFling(const gfx::Vector2dF& velocity);
+ void OnAutoscrollEnd();
void OnTextInputStateChanged(const TextInputState& params);
void OnImeCompositionRangeChanged(
« no previous file with comments | « content/browser/renderer_host/input/gesture_event_queue.cc ('k') | content/browser/renderer_host/render_widget_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698