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

Unified Diff: ui/events/ozone/evdev/cursor_delegate_evdev.h

Issue 721823002: ozone: Interpret absolute events for graphics tablets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@o
Patch Set: Add missing initialisers for class members on TabletEventConverterEvdev 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
« no previous file with comments | « ui/events/ozone/BUILD.gn ('k') | ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..426fcb3f95a65ad7366c8b83c2a00a2373887d49 100644
--- a/ui/events/ozone/evdev/cursor_delegate_evdev.h
+++ b/ui/events/ozone/evdev/cursor_delegate_evdev.h
@@ -11,6 +11,7 @@
namespace gfx {
class Vector2dF;
+class Rect;
}
namespace ui {
@@ -23,12 +24,16 @@ class EVENTS_OZONE_EVDEV_EXPORT CursorDelegateEvdev {
virtual void MoveCursor(const gfx::Vector2dF& delta) = 0;
virtual void MoveCursorTo(gfx::AcceleratedWidget widget,
const gfx::PointF& location) = 0;
+ virtual void MoveCursorTo(const gfx::PointF& location) = 0;
// Location in window.
virtual gfx::PointF location() = 0;
// Cursor visibility.
virtual bool IsCursorVisible() = 0;
+
+ // The bounds of the display that the cursor is currently on
+ virtual gfx::Rect GetCursorDisplayBounds() = 0;
};
} // namespace ui
« no previous file with comments | « ui/events/ozone/BUILD.gn ('k') | ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698