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

Side by Side Diff: Source/platform/animation/TimingFunction.h

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 19 matching lines...) Expand all
30 #include "wtf/OwnPtr.h" 30 #include "wtf/OwnPtr.h"
31 #include "wtf/PassOwnPtr.h" 31 #include "wtf/PassOwnPtr.h"
32 #include "wtf/PassRefPtr.h" 32 #include "wtf/PassRefPtr.h"
33 #include "wtf/RefCounted.h" 33 #include "wtf/RefCounted.h"
34 #include "wtf/StdLibExtras.h" 34 #include "wtf/StdLibExtras.h"
35 #include "wtf/Vector.h" 35 #include "wtf/Vector.h"
36 #include "wtf/text/StringBuilder.h" 36 #include "wtf/text/StringBuilder.h"
37 #include "wtf/text/WTFString.h" 37 #include "wtf/text/WTFString.h"
38 #include <algorithm> 38 #include <algorithm>
39 39
40 namespace WebCore { 40 namespace blink {
41 41
42 class PLATFORM_EXPORT TimingFunction : public RefCounted<TimingFunction> { 42 class PLATFORM_EXPORT TimingFunction : public RefCounted<TimingFunction> {
43 public: 43 public:
44 44
45 enum Type { 45 enum Type {
46 LinearFunction, CubicBezierFunction, StepsFunction 46 LinearFunction, CubicBezierFunction, StepsFunction
47 }; 47 };
48 48
49 virtual ~TimingFunction() { } 49 virtual ~TimingFunction() { }
50 50
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 #define DEFINE_TIMING_FUNCTION_TYPE_CASTS(typeName) \ 250 #define DEFINE_TIMING_FUNCTION_TYPE_CASTS(typeName) \
251 DEFINE_TYPE_CASTS( \ 251 DEFINE_TYPE_CASTS( \
252 typeName##TimingFunction, TimingFunction, value, \ 252 typeName##TimingFunction, TimingFunction, value, \
253 value->type() == TimingFunction::typeName##Function, \ 253 value->type() == TimingFunction::typeName##Function, \
254 value.type() == TimingFunction::typeName##Function) 254 value.type() == TimingFunction::typeName##Function)
255 255
256 DEFINE_TIMING_FUNCTION_TYPE_CASTS(Linear); 256 DEFINE_TIMING_FUNCTION_TYPE_CASTS(Linear);
257 DEFINE_TIMING_FUNCTION_TYPE_CASTS(CubicBezier); 257 DEFINE_TIMING_FUNCTION_TYPE_CASTS(CubicBezier);
258 DEFINE_TIMING_FUNCTION_TYPE_CASTS(Steps); 258 DEFINE_TIMING_FUNCTION_TYPE_CASTS(Steps);
259 259
260 } // namespace WebCore 260 } // namespace blink
261 261
262 #endif // TimingFunction_h 262 #endif // TimingFunction_h
OLDNEW
« no previous file with comments | « Source/platform/animation/KeyframeValueList.cpp ('k') | Source/platform/animation/TimingFunction.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698