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

Unified Diff: webkit/child/touch_fling_gesture_curve.h

Issue 61553006: Rename WebKit namespace to blink (part 5) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | « webkit/child/resource_loader_bridge.cc ('k') | webkit/child/touch_fling_gesture_curve.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/child/touch_fling_gesture_curve.h
diff --git a/webkit/child/touch_fling_gesture_curve.h b/webkit/child/touch_fling_gesture_curve.h
index 677679782b76ae3b145d72928b58a083c7b9bf03..4f8876d173b7e5ec9231fdddc66226f25b423066 100644
--- a/webkit/child/touch_fling_gesture_curve.h
+++ b/webkit/child/touch_fling_gesture_curve.h
@@ -11,7 +11,7 @@
#include "third_party/WebKit/public/platform/WebSize.h"
#include "webkit/child/webkit_child_export.h"
-namespace WebKit {
+namespace blink {
class WebGestureCurveTarget;
}
@@ -21,27 +21,27 @@ namespace webkit_glue {
// fling scroll. Starts with a flat velocity profile based on 'velocity', which
// tails off to zero. Time is scaled to that duration of the fling is
// proportional to the initial velocity.
-class TouchFlingGestureCurve : public WebKit::WebGestureCurve {
+class TouchFlingGestureCurve : public blink::WebGestureCurve {
public:
WEBKIT_CHILD_EXPORT static WebGestureCurve* Create(
- const WebKit::WebFloatPoint& initial_velocity,
+ const blink::WebFloatPoint& initial_velocity,
float p0, float p1, float p2,
- const WebKit::WebSize& cumulativeScroll);
+ const blink::WebSize& cumulativeScroll);
virtual bool apply(double monotonicTime,
- WebKit::WebGestureCurveTarget*) OVERRIDE;
+ blink::WebGestureCurveTarget*) OVERRIDE;
private:
- TouchFlingGestureCurve(const WebKit::WebFloatPoint& initial_velocity,
+ TouchFlingGestureCurve(const blink::WebFloatPoint& initial_velocity,
float p0,
float p1,
float p2,
- const WebKit::WebSize& cumulativeScroll);
+ const blink::WebSize& cumulativeScroll);
virtual ~TouchFlingGestureCurve();
- WebKit::WebFloatPoint displacement_ratio_;
- WebKit::WebFloatSize cumulative_scroll_;
+ blink::WebFloatPoint displacement_ratio_;
+ blink::WebFloatSize cumulative_scroll_;
float coefficients_[3];
float time_offset_;
float curve_duration_;
« no previous file with comments | « webkit/child/resource_loader_bridge.cc ('k') | webkit/child/touch_fling_gesture_curve.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698