| 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
|
| +
|
|
|