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

Unified Diff: webkit/child/fling_animator_impl_android.h

Issue 170993003: [Android] Use DIP coordinates for GestureFlingStart events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 6 years, 10 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: webkit/child/fling_animator_impl_android.h
diff --git a/webkit/child/fling_animator_impl_android.h b/webkit/child/fling_animator_impl_android.h
index c4703677874680940a0dffcb4e57975f1f1a02e9..b475c7209c8426d3dcfc29f181ae173eaba17cf1 100644
--- a/webkit/child/fling_animator_impl_android.h
+++ b/webkit/child/fling_animator_impl_android.h
@@ -49,6 +49,7 @@ class WEBKIT_CHILD_EXPORT FlingAnimatorImpl : public blink::WebGestureCurve {
gfx::Point last_position_;
gfx::PointF last_velocity_;
double last_time_;
+ float dpi_scale_;
DISALLOW_COPY_AND_ASSIGN(FlingAnimatorImpl);
};

Powered by Google App Engine
This is Rietveld 408576698