OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 29 matching lines...) Expand all Loading... |
40 #include "core/css/CSSKeyframeRule.h" | 40 #include "core/css/CSSKeyframeRule.h" |
41 #include "core/css/resolver/StyleResolver.h" | 41 #include "core/css/resolver/StyleResolver.h" |
42 #include "core/dom/Element.h" | 42 #include "core/dom/Element.h" |
43 #include "core/dom/PseudoElement.h" | 43 #include "core/dom/PseudoElement.h" |
44 #include "core/events/ThreadLocalEventNames.h" | 44 #include "core/events/ThreadLocalEventNames.h" |
45 #include "core/events/TransitionEvent.h" | 45 #include "core/events/TransitionEvent.h" |
46 #include "core/events/WebKitAnimationEvent.h" | 46 #include "core/events/WebKitAnimationEvent.h" |
47 #include "core/frame/UseCounter.h" | 47 #include "core/frame/UseCounter.h" |
48 #include "core/frame/animation/CSSPropertyAnimation.h" | 48 #include "core/frame/animation/CSSPropertyAnimation.h" |
49 #include "core/platform/animation/CSSAnimationDataList.h" | 49 #include "core/platform/animation/CSSAnimationDataList.h" |
50 #include "core/platform/animation/TimingFunction.h" | |
51 #include "core/rendering/RenderObject.h" | 50 #include "core/rendering/RenderObject.h" |
52 #include "core/rendering/style/KeyframeList.h" | 51 #include "core/rendering/style/KeyframeList.h" |
| 52 #include "platform/animation/TimingFunction.h" |
53 #include "public/platform/Platform.h" | 53 #include "public/platform/Platform.h" |
54 #include "wtf/HashSet.h" | 54 #include "wtf/HashSet.h" |
55 | 55 |
56 namespace WebCore { | 56 namespace WebCore { |
57 | 57 |
58 struct CandidateTransition { | 58 struct CandidateTransition { |
59 CandidateTransition(PassRefPtr<AnimatableValue> from, PassRefPtr<AnimatableV
alue> to, const CSSAnimationData* anim) | 59 CandidateTransition(PassRefPtr<AnimatableValue> from, PassRefPtr<AnimatableV
alue> to, const CSSAnimationData* anim) |
60 : from(from) | 60 : from(from) |
61 , to(to) | 61 , to(to) |
62 , anim(anim) | 62 , anim(anim) |
(...skipping 855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
918 CSSPropertyID id = convertToCSSPropertyID(i); | 918 CSSPropertyID id = convertToCSSPropertyID(i); |
919 if (isAnimatableProperty(id)) | 919 if (isAnimatableProperty(id)) |
920 properties.append(id); | 920 properties.append(id); |
921 } | 921 } |
922 propertyShorthand = StylePropertyShorthand(CSSPropertyInvalid, propertie
s.begin(), properties.size()); | 922 propertyShorthand = StylePropertyShorthand(CSSPropertyInvalid, propertie
s.begin(), properties.size()); |
923 } | 923 } |
924 return propertyShorthand; | 924 return propertyShorthand; |
925 } | 925 } |
926 | 926 |
927 } // namespace WebCore | 927 } // namespace WebCore |
OLD | NEW |