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

Unified 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: GetActiveWindow -> GetCursorWindow 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/ozone/evdev/cursor_delegate_evdev.h ('k') | ui/ozone/platform/dri/cursor_factory_evdev_dri.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/cursor_factory_evdev_dri.h
diff --git a/ui/ozone/platform/dri/cursor_factory_evdev_dri.h b/ui/ozone/platform/dri/cursor_factory_evdev_dri.h
index b1a1a7d12c03777908bcfbec04dca55760427376..da132199668cac9deac1750ca341e0873f96ca23 100644
--- a/ui/ozone/platform/dri/cursor_factory_evdev_dri.h
+++ b/ui/ozone/platform/dri/cursor_factory_evdev_dri.h
@@ -25,6 +25,7 @@ class CursorFactoryEvdevDri : public BitmapCursorFactoryOzone,
virtual ~CursorFactoryEvdevDri();
// BitmapCursorFactoryOzone:
+ virtual gfx::AcceleratedWidget GetCursorWindow() OVERRIDE;
virtual void SetBitmapCursor(gfx::AcceleratedWidget widget,
scoped_refptr<BitmapCursorOzone> cursor)
OVERRIDE;
@@ -33,7 +34,6 @@ class CursorFactoryEvdevDri : public BitmapCursorFactoryOzone,
virtual void MoveCursorTo(gfx::AcceleratedWidget widget,
const gfx::PointF& location) OVERRIDE;
virtual void MoveCursor(const gfx::Vector2dF& delta) OVERRIDE;
- virtual gfx::AcceleratedWidget window() OVERRIDE;
virtual gfx::PointF location() OVERRIDE;
private:
@@ -49,9 +49,6 @@ class CursorFactoryEvdevDri : public BitmapCursorFactoryOzone,
// The window under the cursor.
gfx::AcceleratedWidget cursor_window_;
- // The bounds of the window under the cursor.
- gfx::RectF cursor_bounds_;
-
// The location of the cursor within the window.
gfx::PointF cursor_location_;
};
« no previous file with comments | « ui/events/ozone/evdev/cursor_delegate_evdev.h ('k') | ui/ozone/platform/dri/cursor_factory_evdev_dri.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698