1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_EVENTS_OZONE_EVDEV_CURSOR_DELEGATE_EVDEV_H_
6 #define UI_EVENTS_OZONE_EVDEV_CURSOR_DELEGATE_EVDEV_H_
8 #include "ui/events/events_export.h"
9 #include "ui/gfx/geometry/point_f.h"
10 #include "ui/gfx/native_widget_types.h"
18 class EVENTS_EXPORT CursorDelegateEvdev {
21 virtual void MoveCursor(const gfx::Vector2dF& delta) = 0;
22 virtual void MoveCursorTo(gfx::AcceleratedWidget widget,
23 const gfx::PointF& location) = 0;
25 // Location in window.
26 virtual gfx::PointF location() = 0;
31 #endif // UI_EVENTS_OZONE_EVDEV_CURSOR_DELEGATE_EVDEV_H_