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

Unified Diff: public/platform/WebScrollOffsetAnimationCurve.h

Issue 365903004: Define WebScrollOffsetAnimationCurve (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | « public/platform/WebCompositorSupport.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebScrollOffsetAnimationCurve.h
diff --git a/public/platform/WebScrollOffsetAnimationCurve.h b/public/platform/WebScrollOffsetAnimationCurve.h
new file mode 100644
index 0000000000000000000000000000000000000000..8036b60fbc5a717ca7e8eb2aacd41d21ebef6d45
--- /dev/null
+++ b/public/platform/WebScrollOffsetAnimationCurve.h
@@ -0,0 +1,25 @@
+// Copyright 2014 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 WebScrollOffsetAnimationCurve_h
+#define WebScrollOffsetAnimationCurve_h
+
+#include "WebAnimationCurve.h"
+
+#include "WebFloatPoint.h"
+
+namespace blink {
+
+class WebScrollOffsetAnimationCurve : public WebAnimationCurve {
+public:
+ virtual ~WebScrollOffsetAnimationCurve() { }
+
+ virtual void setInitialValue(WebFloatPoint) = 0;
+ virtual WebFloatPoint getValue(double time) const = 0;
+ virtual double duration() const = 0;
+};
+
+} // namespace blink
+
+#endif // WebScrollOffsetAnimationCurve_h
« no previous file with comments | « public/platform/WebCompositorSupport.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698