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

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

Issue 2386103004: Ensure that we don't report huge mouse movement deltas for mouse enter and leave events. (Closed)
Patch Set: Address sky review comments Created 4 years, 2 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 | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_aura.h
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.h b/content/browser/renderer_host/render_widget_host_view_aura.h
index 0c10ef0b8304b5a3b159ca8013bd2f445e678a7b..6a1ec94429dce49e816ffdc01a8cb59a7a540db1 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.h
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h
@@ -424,7 +424,10 @@ class CONTENT_EXPORT RenderWidgetHostViewAura
// This method computes movementX/Y and keeps track of mouse location for
// mouse lock on all mouse move events.
- void ModifyEventMovementAndCoords(blink::WebMouseEvent* event);
+ // |ui_mouse_event| contains the mouse event received.
+ // |event| contains the WebMouseEvent being modified.
+ void ModifyEventMovementAndCoords(const ui::MouseEvent& ui_mouse_event,
+ blink::WebMouseEvent* event);
// Sends an IPC to the renderer process to communicate whether or not
// the mouse cursor is visible anywhere on the screen.
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698