| 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_DRI_CURSOR_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRI_DRI_CURSOR_H_ |
| 6 #define UI_OZONE_PLATFORM_DRI_DRI_CURSOR_H_ | 6 #define UI_OZONE_PLATFORM_DRI_DRI_CURSOR_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "ui/base/cursor/cursor.h" | 9 #include "ui/base/cursor/cursor.h" |
| 10 #include "ui/events/ozone/evdev/cursor_delegate_evdev.h" | 10 #include "ui/events/ozone/evdev/cursor_delegate_evdev.h" |
| 11 #include "ui/gfx/geometry/point_f.h" |
| 12 #include "ui/gfx/geometry/rect.h" |
| 11 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
| 12 | 14 |
| 13 namespace gfx { | 15 namespace gfx { |
| 14 class PointF; | 16 class PointF; |
| 15 class Vector2dF; | 17 class Vector2dF; |
| 16 class Rect; | 18 class Rect; |
| 17 } | 19 } |
| 18 | 20 |
| 19 namespace ui { | 21 namespace ui { |
| 20 | 22 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 DriGpuPlatformSupportHost* sender_; // Not owned. | 56 DriGpuPlatformSupportHost* sender_; // Not owned. |
| 55 | 57 |
| 56 // The current cursor bitmap. | 58 // The current cursor bitmap. |
| 57 scoped_refptr<BitmapCursorOzone> cursor_; | 59 scoped_refptr<BitmapCursorOzone> cursor_; |
| 58 | 60 |
| 59 // The window under the cursor. | 61 // The window under the cursor. |
| 60 gfx::AcceleratedWidget cursor_window_; | 62 gfx::AcceleratedWidget cursor_window_; |
| 61 | 63 |
| 62 // The location of the cursor within the window. | 64 // The location of the cursor within the window. |
| 63 gfx::PointF cursor_location_; | 65 gfx::PointF cursor_location_; |
| 66 |
| 67 // The bounsd of the display under the cursor. |
| 68 gfx::Rect cursor_display_bounds_; |
| 64 }; | 69 }; |
| 65 | 70 |
| 66 } // namespace ui | 71 } // namespace ui |
| 67 | 72 |
| 68 #endif // UI_OZONE_PLATFORM_DRI_DRI_CURSOR_H_ | 73 #endif // UI_OZONE_PLATFORM_DRI_DRI_CURSOR_H_ |
| OLD | NEW |