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

Unified Diff: components/test_runner/event_sender.h

Issue 2569273002: Add constructors to WebInputEvents and setters so we can work at cleaning up these public structs. (Closed)
Patch Set: Fix mouse up event sender not modifying modifiers Created 4 years 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: components/test_runner/event_sender.h
diff --git a/components/test_runner/event_sender.h b/components/test_runner/event_sender.h
index c108011b589bdf251d76dc163f66163f0faf10bf..d6abdc37b455dd66d72f5717a3b92f810d15dcd3 100644
--- a/components/test_runner/event_sender.h
+++ b/components/test_runner/event_sender.h
@@ -187,10 +187,9 @@ class EventSender {
void UpdateClickCountForButton(blink::WebMouseEvent::Button);
- void InitMouseWheelEvent(gin::Arguments* args,
- MouseScrollType scroll_type,
- blink::WebMouseWheelEvent* event,
- bool* send_gestures);
+ blink::WebMouseWheelEvent GetMouseWheelEvent(gin::Arguments* args,
+ MouseScrollType scroll_type,
+ bool* send_gestures);
void InitPointerProperties(gin::Arguments* args,
blink::WebPointerProperties* e,
float* radius_x,
@@ -198,6 +197,7 @@ class EventSender {
void FinishDragAndDrop(const blink::WebMouseEvent&, blink::WebDragOperation);
+ int ModifiersForPointer(int pointer_id);
void DoDragAfterMouseUp(const blink::WebMouseEvent&);
void DoDragAfterMouseMove(const blink::WebMouseEvent&);
void ReplaySavedEvents();

Powered by Google App Engine
This is Rietveld 408576698