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

Unified Diff: ui/aura/event.h

Issue 10383249: touch: Make sure the correct radius values are used for touch events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: ui/aura/event.h
diff --git a/ui/aura/event.h b/ui/aura/event.h
index da2788524d0154170086c79819dd470c7e8d14d0..b4ccd5aa6017165b03579fc533488f902df4a76e 100644
--- a/ui/aura/event.h
+++ b/ui/aura/event.h
@@ -222,10 +222,10 @@ class AURA_EXPORT TouchEvent : public LocatedEvent,
// for each separable additional touch that the hardware can detect.
const int touch_id_;
- // Radius of the X (major) axis of the touch ellipse. 1.0 if unknown.
+ // Radius of the X (major) axis of the touch ellipse. 0.0 if unknown.
float radius_x_;
- // Radius of the Y (minor) axis of the touch ellipse. 1.0 if unknown.
+ // Radius of the Y (minor) axis of the touch ellipse. 0.0 if unknown.
float radius_y_;
// Angle of the major axis away from the X axis. Default 0.0.

Powered by Google App Engine
This is Rietveld 408576698