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

Unified Diff: ui/ozone/platform/dri/cursor_factory_evdev_dri.cc

Issue 514943003: ozone: evdev: gestures: Disable click when the cursor is hidden (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/ozone/platform/dri/cursor_factory_evdev_dri.h ('k') | no next file » | 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.cc
diff --git a/ui/ozone/platform/dri/cursor_factory_evdev_dri.cc b/ui/ozone/platform/dri/cursor_factory_evdev_dri.cc
index 5f9b50bd87e62872f21af46323fedbc929c58565..fccd53ea4cd33e12e62c89fda64755be17ecc738 100644
--- a/ui/ozone/platform/dri/cursor_factory_evdev_dri.cc
+++ b/ui/ozone/platform/dri/cursor_factory_evdev_dri.cc
@@ -58,6 +58,8 @@ gfx::AcceleratedWidget CursorFactoryEvdevDri::GetCursorWindow() {
return cursor_window_;
}
+bool CursorFactoryEvdevDri::IsCursorVisible() { return cursor_; }
+
gfx::PointF CursorFactoryEvdevDri::location() { return cursor_location_; }
gfx::Point CursorFactoryEvdevDri::bitmap_location() {
« no previous file with comments | « ui/ozone/platform/dri/cursor_factory_evdev_dri.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698