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

Unified Diff: ui/events/ozone/evdev/cursor_delegate_evdev.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/ozone/evdev/cursor_delegate_evdev.h
diff --git a/ui/events/ozone/evdev/cursor_delegate_evdev.h b/ui/events/ozone/evdev/cursor_delegate_evdev.h
index 63947b38469f452c9a731305db4dca1c356a36db..6e78a3f16d497d3bad94901c29d6e768d0864aa9 100644
--- a/ui/events/ozone/evdev/cursor_delegate_evdev.h
+++ b/ui/events/ozone/evdev/cursor_delegate_evdev.h
@@ -25,6 +25,9 @@ class EVENTS_OZONE_EVDEV_EXPORT CursorDelegateEvdev {
// Location in window.
virtual gfx::PointF location() = 0;
+ // Location in screen.
+ virtual gfx::PointF root_location() = 0;
+
// Cursor visibility.
virtual bool IsCursorVisible() = 0;
};

Powered by Google App Engine
This is Rietveld 408576698