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

Unified Diff: webkit/support/web_gesture_curve_mock.h

Issue 23526028: Move source files from webkit/support to content/test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 3 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 | « webkit/support/test_webkit_platform_support.cc ('k') | webkit/support/web_gesture_curve_mock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/web_gesture_curve_mock.h
diff --git a/webkit/support/web_gesture_curve_mock.h b/webkit/support/web_gesture_curve_mock.h
deleted file mode 100644
index f05f4e98cb2fd676d9acdf9ca9e073bc5ca11d2b..0000000000000000000000000000000000000000
--- a/webkit/support/web_gesture_curve_mock.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef WEBKIT_SUPPORT_WEB_GESTURE_CURVE_MOCK_H_
-#define WEBKIT_SUPPORT_WEB_GESTURE_CURVE_MOCK_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "third_party/WebKit/public/platform/WebFloatPoint.h"
-#include "third_party/WebKit/public/platform/WebGestureCurve.h"
-#include "third_party/WebKit/public/platform/WebSize.h"
-
-// A simple class for mocking a WebGestureCurve. The curve flings at velocity
-// indefinitely.
-class WebGestureCurveMock : public WebKit::WebGestureCurve {
- public:
- WebGestureCurveMock(const WebKit::WebFloatPoint& velocity,
- const WebKit::WebSize& cumulative_scroll);
- virtual ~WebGestureCurveMock();
-
- // Returns false if curve has finished and can no longer be applied.
- virtual bool apply(double time,
- WebKit::WebGestureCurveTarget* target) OVERRIDE;
-
- private:
- WebKit::WebFloatPoint velocity_;
- WebKit::WebSize cumulative_scroll_;
-
- DISALLOW_COPY_AND_ASSIGN(WebGestureCurveMock);
-};
-
-#endif // WEBKIT_SUPPORT_WEB_GESTURE_CURVE_MOCK_H_
« no previous file with comments | « webkit/support/test_webkit_platform_support.cc ('k') | webkit/support/web_gesture_curve_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698