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

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 DCHECKs from DriWindowManager 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 52412ac89d142965f634f09b1570a38979ad9262..8cd000868b6ac0aee06677467e147d482bf199b6 100644
--- a/ui/events/ozone/evdev/cursor_delegate_evdev.h
+++ b/ui/events/ozone/evdev/cursor_delegate_evdev.h
@@ -25,7 +25,10 @@ class EVENTS_OZONE_EVDEV_EXPORT CursorDelegateEvdev {
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