diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-01 18:29:42 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-01 18:29:42 +0000 |
commit | 98fa8948b771838261bfbd07a2de305b0ae027e7 (patch) | |
tree | b48d910ca923ae018b662565a7541459b28198a4 /webkit/compositor_bindings/WebTransformAnimationCurveImpl.h | |
parent | 3920fc361cdcc9c18b5c1873210df26e37977918 (diff) | |
download | chromium_src-98fa8948b771838261bfbd07a2de305b0ae027e7.zip chromium_src-98fa8948b771838261bfbd07a2de305b0ae027e7.tar.gz chromium_src-98fa8948b771838261bfbd07a2de305b0ae027e7.tar.bz2 |
Make cc_unittests and webkit_compositor_unittests executable always
To get these tests set up to run on the bots they need to be executables always.
If use_libcc_for_compositor is 0 these targets won't run any tests, but they will
still successfully run.
TBR=joth@chromium.org (for stupid android_webview copyright script)
BUG=
Review URL: https://chromiumcodereview.appspot.com/10920056
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154620 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/compositor_bindings/WebTransformAnimationCurveImpl.h')
-rw-r--r-- | webkit/compositor_bindings/WebTransformAnimationCurveImpl.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/webkit/compositor_bindings/WebTransformAnimationCurveImpl.h b/webkit/compositor_bindings/WebTransformAnimationCurveImpl.h new file mode 100644 index 0000000..b7d7018 --- /dev/null +++ b/webkit/compositor_bindings/WebTransformAnimationCurveImpl.h @@ -0,0 +1,42 @@ +// Copyright 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 WebTransformAnimationCurveImpl_h +#define WebTransformAnimationCurveImpl_h + +#include <public/WebTransformAnimationCurve.h> +#include <wtf/OwnPtr.h> +#include <wtf/PassOwnPtr.h> + +namespace WebCore { +class CCAnimationCurve; +class CCKeyframedTransformAnimationCurve; +} + +namespace WebKit { + +class WebTransformAnimationCurveImpl : public WebTransformAnimationCurve { +public: + WebTransformAnimationCurveImpl(); + virtual ~WebTransformAnimationCurveImpl(); + + // WebAnimationCurve implementation. + virtual AnimationCurveType type() const OVERRIDE; + + // WebTransformAnimationCurve implementation. + virtual void add(const WebTransformKeyframe&) OVERRIDE; + virtual void add(const WebTransformKeyframe&, TimingFunctionType) OVERRIDE; + virtual void add(const WebTransformKeyframe&, double x1, double y1, double x2, double y2) OVERRIDE; + + virtual WebTransformationMatrix getValue(double time) const OVERRIDE; + + PassOwnPtr<WebCore::CCAnimationCurve> cloneToCCAnimationCurve() const; + +private: + OwnPtr<WebCore::CCKeyframedTransformAnimationCurve> m_curve; +}; + +} + +#endif // WebTransformAnimationCurveImpl_h |