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

Unified Diff: ui/events/event.h

Issue 657603002: ash: ozone: apply transformation to events outside the root window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on ToT Created 6 years, 1 month 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: ui/events/event.h
diff --git a/ui/events/event.h b/ui/events/event.h
index 56fd74c85d53d17d000fa1b9c6c0796104379056..bf27b50cb6af27190ba99d62ae16ba3b8bbe67c7 100644
--- a/ui/events/event.h
+++ b/ui/events/event.h
@@ -763,6 +763,16 @@ class EVENTS_EXPORT ScrollEvent : public MouseEvent {
float x_offset_ordinal,
float y_offset_ordinal,
int finger_count);
+ ScrollEvent(EventType type,
+ const gfx::PointF& location,
+ const gfx::PointF& root_location,
+ base::TimeDelta time_stamp,
+ int flags,
+ float x_offset,
+ float y_offset,
+ float x_offset_ordinal,
+ float y_offset_ordinal,
+ int finger_count);
// Scale the scroll event's offset value.
// This is useful in the multi-monitor setup where it needs to be scaled

Powered by Google App Engine
This is Rietveld 408576698