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

Unified Diff: public/platform/Platform.h

Issue 304823002: use enum to specify deviceSource for fling animation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « no previous file | public/web/WebActiveWheelFlingParameters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index ffc958c304dd10497fd0485350590bfb6e9bf3c7..d3c17af2ec88b4d0b36e0069f5f1c4c1b933d157 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -594,17 +594,7 @@ public:
// Creates a new fling animation curve instance for device |deviceSource|
// with |velocity| and already scrolled |cumulativeScroll| pixels.
- virtual WebGestureCurve* createFlingAnimationCurve(int deviceSource, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return 0; }
-
- // TODO(rjkroege): Remove at end of http://crbug.com/343327
- virtual WebGestureCurve* createFlingAnimationCurve(
- WebGestureDevice deviceSource,
- const WebFloatPoint& velocity,
- const WebSize& cumulativeScroll)
- {
- return createFlingAnimationCurve(
- (int)deviceSource, velocity, cumulativeScroll);
- }
+ virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSource, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return 0; }
// WebRTC ----------------------------------------------------------
« no previous file with comments | « no previous file | public/web/WebActiveWheelFlingParameters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698