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

Unified Diff: content/test/web_gesture_curve_mock.cc

Issue 63253002: Rename WebKit namespace to blink (part 3) (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 | « content/test/web_gesture_curve_mock.h ('k') | content/test/web_layer_tree_view_impl_for_testing.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/web_gesture_curve_mock.cc
diff --git a/content/test/web_gesture_curve_mock.cc b/content/test/web_gesture_curve_mock.cc
index 0fd96dfccd1d84d186c1d1d7b528090041fdb2d5..f60733c2b06468462fdb6cbf1be6e32e81afcc70 100644
--- a/content/test/web_gesture_curve_mock.cc
+++ b/content/test/web_gesture_curve_mock.cc
@@ -8,8 +8,8 @@
#include "third_party/WebKit/public/platform/WebFloatSize.h"
#include "third_party/WebKit/public/platform/WebGestureCurveTarget.h"
-WebGestureCurveMock::WebGestureCurveMock(const WebKit::WebFloatPoint& velocity,
- const WebKit::WebSize& cumulative_scroll)
+WebGestureCurveMock::WebGestureCurveMock(const blink::WebFloatPoint& velocity,
+ const blink::WebSize& cumulative_scroll)
: velocity_(velocity),
cumulative_scroll_(cumulative_scroll) {
}
@@ -18,12 +18,12 @@ WebGestureCurveMock::~WebGestureCurveMock() {
}
bool WebGestureCurveMock::apply(double time,
- WebKit::WebGestureCurveTarget* target) {
- WebKit::WebSize displacement(velocity_.x * time, velocity_.y * time);
- WebKit::WebFloatSize increment(displacement.width - cumulative_scroll_.width,
+ blink::WebGestureCurveTarget* target) {
+ blink::WebSize displacement(velocity_.x * time, velocity_.y * time);
+ blink::WebFloatSize increment(displacement.width - cumulative_scroll_.width,
displacement.height - cumulative_scroll_.height);
cumulative_scroll_ = displacement;
- target->notifyCurrentFlingVelocity(WebKit::WebFloatSize(velocity_.x,
+ target->notifyCurrentFlingVelocity(blink::WebFloatSize(velocity_.x,
velocity_.y));
// scrollBy() could delete this curve if the animation is over, so don't
// touch any member variables after making that call.
« no previous file with comments | « content/test/web_gesture_curve_mock.h ('k') | content/test/web_layer_tree_view_impl_for_testing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698