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

Unified Diff: ui/events/event_utils.h

Issue 2648583003: Handle floating point coordinates from ozone to exosphere (Closed)
Patch Set: added F variant to screen position client. fixed exo tests. Created 3 years, 11 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
Index: ui/events/event_utils.h
diff --git a/ui/events/event_utils.h b/ui/events/event_utils.h
index c7a51aab0abb3ffe0dd50e08512f524e41dbac28..f1109a8950454901857451567010668161095076 100644
--- a/ui/events/event_utils.h
+++ b/ui/events/event_utils.h
@@ -70,6 +70,8 @@ EVENTS_EXPORT void ValidateEventTimeClock(base::TimeTicks* timestamp);
// TODO(tdresser): Return gfx::PointF here. See crbug.com/337827.
EVENTS_EXPORT gfx::Point EventLocationFromNative(
const base::NativeEvent& native_event);
+EVENTS_EXPORT gfx::PointF EventLocationFromNativeF(
+ const base::NativeEvent& native_event);
// Gets the location in native system coordinate space.
EVENTS_EXPORT gfx::Point EventSystemLocationFromNative(
« ui/compositor/layer.cc ('K') | « ui/events/event.cc ('k') | ui/events/events_default.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698