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

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

Issue 2339503002: Allow OOPIFs to capture mouse input while mouse button is held down (Closed)
Patch Set: mustaq review comments addressed Created 4 years, 3 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_input_event_router.h
diff --git a/content/browser/renderer_host/render_widget_host_input_event_router.h b/content/browser/renderer_host/render_widget_host_input_event_router.h
index 83736c4973dbd2b435f5d09a9041ae9db12e900e..3422d38a0565713cdfabb4fd4a8629b2b242a7a6 100644
--- a/content/browser/renderer_host/render_widget_host_input_event_router.h
+++ b/content/browser/renderer_host/render_widget_host_input_event_router.h
@@ -136,6 +136,8 @@ class CONTENT_EXPORT RenderWidgetHostInputEventRouter
TargetData touchpad_gesture_target_;
TargetData bubbling_gesture_scroll_target_;
TargetData first_bubbling_scroll_target_;
+ // Maintains the same target between mouse down and mouse up.
+ TargetData mouse_capture_target_;
int active_touches_;
// Keep track of when we are between GesturePinchBegin and GesturePinchEnd
// inclusive, as we need to route these events (and anything in between) to

Powered by Google App Engine
This is Rietveld 408576698