OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_OZONE_PLATFORM_DRI_CURSOR_FACTORY_EVDEV_DRI_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRI_CURSOR_FACTORY_EVDEV_DRI_H_ |
6 #define UI_OZONE_PLATFORM_DRI_CURSOR_FACTORY_EVDEV_DRI_H_ | 6 #define UI_OZONE_PLATFORM_DRI_CURSOR_FACTORY_EVDEV_DRI_H_ |
7 | 7 |
8 #include "ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h" | 8 #include "ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h" |
9 #include "ui/events/ozone/evdev/cursor_delegate_evdev.h" | 9 #include "ui/events/ozone/evdev/cursor_delegate_evdev.h" |
10 #include "ui/gfx/geometry/point.h" | 10 #include "ui/gfx/geometry/point.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 | 42 |
43 // The DRI implementation for setting the hardware cursor. | 43 // The DRI implementation for setting the hardware cursor. |
44 DriSurfaceFactory* dri_; | 44 DriSurfaceFactory* dri_; |
45 | 45 |
46 // The current cursor bitmap. | 46 // The current cursor bitmap. |
47 scoped_refptr<BitmapCursorOzone> cursor_; | 47 scoped_refptr<BitmapCursorOzone> cursor_; |
48 | 48 |
49 // The window under the cursor. | 49 // The window under the cursor. |
50 gfx::AcceleratedWidget cursor_window_; | 50 gfx::AcceleratedWidget cursor_window_; |
51 | 51 |
52 // The bounds of the window under the cursor. | |
53 gfx::RectF cursor_bounds_; | |
54 | |
55 // The location of the cursor within the window. | 52 // The location of the cursor within the window. |
56 gfx::PointF cursor_location_; | 53 gfx::PointF cursor_location_; |
57 }; | 54 }; |
58 | 55 |
59 } // namespace ui | 56 } // namespace ui |
60 | 57 |
61 #endif // UI_OZONE_PLATFORM_DRI_CURSOR_FACTORY_EVDEV_DRI_H_ | 58 #endif // UI_OZONE_PLATFORM_DRI_CURSOR_FACTORY_EVDEV_DRI_H_ |
OLD | NEW |