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

Unified Diff: public/platform/WebAnimationDelegate.h

Issue 467123002: Revert of Rename WebAnimation to WebCompositorAnimation (patchset #5 of https://codereview.chromium… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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/WebAnimationCurve.h ('k') | public/platform/WebCompositorAnimation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebAnimationDelegate.h
diff --git a/public/platform/WebGestureCurveTarget.h b/public/platform/WebAnimationDelegate.h
similarity index 75%
copy from public/platform/WebGestureCurveTarget.h
copy to public/platform/WebAnimationDelegate.h
index 1b8bfa830273130c495b230727320ee2b9b82ce8..8d195468e2e4e7f0f7727fac75c9ebfde64dcac6 100644
--- a/public/platform/WebGestureCurveTarget.h
+++ b/public/platform/WebAnimationDelegate.h
@@ -22,22 +22,22 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebGestureCurveTarget_h
-#define WebGestureCurveTarget_h
+#ifndef WebAnimationDelegate_h
+#define WebAnimationDelegate_h
-#include "WebFloatSize.h"
-#include "WebPoint.h"
+#include "WebAnimation.h"
+
+#define WebCompositorAnimationDelegate WebAnimationDelegate
+#define WEB_ANIMATION_DELEGATE_TAKES_MONOTONIC_TIME 1
namespace blink {
-class WebGestureCurveTarget {
+class WebAnimationDelegate {
public:
- virtual bool scrollBy(const WebFloatSize& delta, const WebFloatSize& velocity) = 0;
-
-protected:
- virtual ~WebGestureCurveTarget() { }
+ virtual void notifyAnimationStarted(double monotonicTime, WebAnimation::TargetProperty) = 0;
+ virtual void notifyAnimationFinished(double monotonicTime, WebAnimation::TargetProperty) = 0;
};
} // namespace blink
-#endif
+#endif // WebAnimationDelegate_h
« no previous file with comments | « public/platform/WebAnimationCurve.h ('k') | public/platform/WebCompositorAnimation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698