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

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: Remove explicit gfx::Rect to gfx::RectF conversion 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 426fcb3f95a65ad7366c8b83c2a00a2373887d49..8bdc788cced76dd55edf72d76d4651c73f9f6e5b 100644
--- a/ui/events/ozone/evdev/cursor_delegate_evdev.h
+++ b/ui/events/ozone/evdev/cursor_delegate_evdev.h
@@ -27,7 +27,10 @@ class EVENTS_OZONE_EVDEV_EXPORT CursorDelegateEvdev {
virtual void MoveCursorTo(const gfx::PointF& location) = 0;
// Location in window.
- virtual gfx::PointF location() = 0;
+ virtual gfx::PointF GetLocation() = 0;
+
+ // Location in screen.
+ virtual gfx::PointF GetRootLocation() = 0;
// Cursor visibility.
virtual bool IsCursorVisible() = 0;

Powered by Google App Engine
This is Rietveld 408576698