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

Unified Diff: components/exo/touch_delegate.h

Issue 2648583003: Handle floating point coordinates from ozone to exosphere (Closed)
Patch Set: fixed wayland unittest 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
« no previous file with comments | « components/exo/touch.cc ('k') | components/exo/touch_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/touch_delegate.h
diff --git a/components/exo/touch_delegate.h b/components/exo/touch_delegate.h
index 28f162fe4a83c7f4a406532d5c7ceaaf5c628131..3f1bae1e91d28a5c49c1e52427b9cd0a16b08a88 100644
--- a/components/exo/touch_delegate.h
+++ b/components/exo/touch_delegate.h
@@ -8,7 +8,7 @@
#include "base/time/time.h"
namespace gfx {
-class Point;
+class PointF;
}
namespace exo {
@@ -33,7 +33,7 @@ class TouchDelegate {
virtual void OnTouchDown(Surface* surface,
base::TimeTicks time_stamp,
int id,
- const gfx::Point& location) = 0;
+ const gfx::PointF& location) = 0;
// Called when a touch point has disappeared. No further events will be sent
// for this touch point.
@@ -42,7 +42,7 @@ class TouchDelegate {
// Called when a touch point has changed coordinates.
virtual void OnTouchMotion(base::TimeTicks time_stamp,
int id,
- const gfx::Point& location) = 0;
+ const gfx::PointF& location) = 0;
// Called when a touch point has changed its shape.
virtual void OnTouchShape(int id, float major, float minor) = 0;
« no previous file with comments | « components/exo/touch.cc ('k') | components/exo/touch_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698