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

Unified Diff: public/platform/WebAnimationCurve.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/WebAnimation.h ('k') | public/platform/WebAnimationDelegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebAnimationCurve.h
diff --git a/public/platform/WebRTCDataChannelHandlerClient.h b/public/platform/WebAnimationCurve.h
similarity index 67%
copy from public/platform/WebRTCDataChannelHandlerClient.h
copy to public/platform/WebAnimationCurve.h
index 3d5fbcf3e6fe2735ec9fc5c0e99a6eb55653b020..34b99205101a96eb8a4aef2b21fbec407f93c0e1 100644
--- a/public/platform/WebRTCDataChannelHandlerClient.h
+++ b/public/platform/WebAnimationCurve.h
@@ -22,32 +22,39 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebRTCDataChannelHandlerClient_h
-#define WebRTCDataChannelHandlerClient_h
+#ifndef WebAnimationCurve_h
+#define WebAnimationCurve_h
#include "WebCommon.h"
-#include "WebPrivatePtr.h"
-#include "WebString.h"
+
+#define WebCompositorAnimationCurve WebAnimationCurve
+#define WEB_SCROLL_OFFSET_ANIMATION_CURVE_IS_DEFINED 1
namespace blink {
-class WebRTCDataChannelHandlerClient {
+class WebAnimationCurve {
public:
- enum ReadyState {
- ReadyStateConnecting = 0,
- ReadyStateOpen = 1,
- ReadyStateClosing = 2,
- ReadyStateClosed = 3,
+ virtual ~WebAnimationCurve() { }
+
+ enum TimingFunctionType {
+ TimingFunctionTypeEase,
+ TimingFunctionTypeEaseIn,
+ TimingFunctionTypeEaseOut,
+ TimingFunctionTypeEaseInOut,
+ TimingFunctionTypeLinear
};
- virtual ~WebRTCDataChannelHandlerClient() { }
+ enum AnimationCurveType {
+ AnimationCurveTypeFilter,
+ AnimationCurveTypeFloat,
+ AnimationCurveTypeScrollOffset,
+ AnimationCurveTypeTransform,
+ };
- virtual void didChangeReadyState(ReadyState) = 0;
- virtual void didReceiveStringData(const WebString&) = 0;
- virtual void didReceiveRawData(const char*, size_t) = 0;
- virtual void didDetectError() = 0;
+ virtual AnimationCurveType type() const = 0;
};
} // namespace blink
-#endif // WebRTCDataChannelHandlerClient_h
+#endif // WebAnimationCurve_h
+
« no previous file with comments | « public/platform/WebAnimation.h ('k') | public/platform/WebAnimationDelegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698