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 26 matching lines...) Expand all Loading... |
37 #include "core/animation/KeyframeAnimationEffect.h" | 37 #include "core/animation/KeyframeAnimationEffect.h" |
38 #include "core/animation/css/CSSAnimatableValueFactory.h" | 38 #include "core/animation/css/CSSAnimatableValueFactory.h" |
39 #include "core/css/CSSKeyframeRule.h" | 39 #include "core/css/CSSKeyframeRule.h" |
40 #include "core/css/resolver/StyleResolver.h" | 40 #include "core/css/resolver/StyleResolver.h" |
41 #include "core/dom/Element.h" | 41 #include "core/dom/Element.h" |
42 #include "core/events/ThreadLocalEventNames.h" | 42 #include "core/events/ThreadLocalEventNames.h" |
43 #include "core/events/TransitionEvent.h" | 43 #include "core/events/TransitionEvent.h" |
44 #include "core/events/WebKitAnimationEvent.h" | 44 #include "core/events/WebKitAnimationEvent.h" |
45 #include "core/frame/UseCounter.h" | 45 #include "core/frame/UseCounter.h" |
46 #include "core/frame/animation/CSSPropertyAnimation.h" | 46 #include "core/frame/animation/CSSPropertyAnimation.h" |
47 #include "core/platform/animation/CSSAnimationDataList.h" | |
48 #include "core/platform/animation/TimingFunction.h" | 47 #include "core/platform/animation/TimingFunction.h" |
49 #include "core/rendering/style/KeyframeList.h" | 48 #include "core/rendering/style/KeyframeList.h" |
| 49 #include "platform/animation/CSSAnimationDataList.h" |
50 #include "public/platform/Platform.h" | 50 #include "public/platform/Platform.h" |
51 #include "wtf/HashSet.h" | 51 #include "wtf/HashSet.h" |
52 | 52 |
53 namespace WebCore { | 53 namespace WebCore { |
54 | 54 |
55 struct CandidateTransition { | 55 struct CandidateTransition { |
56 CandidateTransition(PassRefPtr<AnimatableValue> from, PassRefPtr<AnimatableV
alue> to, const CSSAnimationData* anim) | 56 CandidateTransition(PassRefPtr<AnimatableValue> from, PassRefPtr<AnimatableV
alue> to, const CSSAnimationData* anim) |
57 : from(from) | 57 : from(from) |
58 , to(to) | 58 , to(to) |
59 , anim(anim) | 59 , anim(anim) |
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 CSSPropertyID id = convertToCSSPropertyID(i); | 874 CSSPropertyID id = convertToCSSPropertyID(i); |
875 if (isAnimatableProperty(id)) | 875 if (isAnimatableProperty(id)) |
876 properties.append(id); | 876 properties.append(id); |
877 } | 877 } |
878 propertyShorthand = StylePropertyShorthand(CSSPropertyInvalid, propertie
s.begin(), properties.size()); | 878 propertyShorthand = StylePropertyShorthand(CSSPropertyInvalid, propertie
s.begin(), properties.size()); |
879 } | 879 } |
880 return propertyShorthand; | 880 return propertyShorthand; |
881 } | 881 } |
882 | 882 |
883 } // namespace WebCore | 883 } // namespace WebCore |
OLD | NEW |