Index: ui/ozone/platform/dri/dri_cursor.h |
diff --git a/ui/ozone/platform/dri/dri_cursor.h b/ui/ozone/platform/dri/dri_cursor.h |
index 4cea2d8822a23b70c74055ade662737d2a49a6d7..95b767023ce0fb92542b40063814d3d5ff06f69e 100644 |
--- a/ui/ozone/platform/dri/dri_cursor.h |
+++ b/ui/ozone/platform/dri/dri_cursor.h |
@@ -42,6 +42,7 @@ class DriCursor : public CursorDelegateEvdev { |
void MoveCursor(const gfx::Vector2dF& delta) override; |
bool IsCursorVisible() override; |
gfx::PointF location() override; |
+ gfx::PointF root_location() override; |
private: |
// The location of the bitmap (the cursor location is the hotspot location). |
@@ -60,6 +61,9 @@ class DriCursor : public CursorDelegateEvdev { |
// The location of the cursor within the window. |
gfx::PointF cursor_location_; |
+ |
+ // The location of the cursor within the screen. |
+ gfx::PointF cursor_root_location_; |
}; |
} // namespace ui |