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

Side by Side Diff: ui/ozone/platform/dri/cursor_factory_evdev_dri.h

Issue 262163003: [Ozone] Proper cursor support for multi-monitor configurations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 7 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698