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

Side by Side Diff: third_party/WebKit/Source/core/animation/css/CSSAnimations.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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
OLDNEW
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 12 matching lines...) Expand all
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "core/animation/css/CSSAnimations.h" 31 #include "core/animation/css/CSSAnimations.h"
32 32
33 #include <algorithm>
34 #include <bitset>
33 #include "core/StylePropertyShorthand.h" 35 #include "core/StylePropertyShorthand.h"
34 #include "core/animation/Animation.h" 36 #include "core/animation/Animation.h"
35 #include "core/animation/CompositorAnimations.h" 37 #include "core/animation/CompositorAnimations.h"
36 #include "core/animation/DocumentTimeline.h" 38 #include "core/animation/DocumentTimeline.h"
37 #include "core/animation/ElementAnimations.h" 39 #include "core/animation/ElementAnimations.h"
38 #include "core/animation/InertEffect.h" 40 #include "core/animation/InertEffect.h"
39 #include "core/animation/Interpolation.h" 41 #include "core/animation/Interpolation.h"
40 #include "core/animation/KeyframeEffectModel.h" 42 #include "core/animation/KeyframeEffectModel.h"
41 #include "core/animation/KeyframeEffectReadOnly.h" 43 #include "core/animation/KeyframeEffectReadOnly.h"
42 #include "core/animation/LegacyStyleInterpolation.h" 44 #include "core/animation/LegacyStyleInterpolation.h"
43 #include "core/animation/css/CSSAnimatableValueFactory.h" 45 #include "core/animation/css/CSSAnimatableValueFactory.h"
44 #include "core/css/CSSKeyframeRule.h" 46 #include "core/css/CSSKeyframeRule.h"
45 #include "core/css/CSSPropertyEquality.h" 47 #include "core/css/CSSPropertyEquality.h"
46 #include "core/css/CSSPropertyMetadata.h" 48 #include "core/css/CSSPropertyMetadata.h"
47 #include "core/css/CSSValueList.h" 49 #include "core/css/CSSValueList.h"
48 #include "core/css/resolver/CSSToStyleMap.h" 50 #include "core/css/resolver/CSSToStyleMap.h"
49 #include "core/css/resolver/StyleResolver.h" 51 #include "core/css/resolver/StyleResolver.h"
50 #include "core/dom/Element.h" 52 #include "core/dom/Element.h"
51 #include "core/dom/PseudoElement.h" 53 #include "core/dom/PseudoElement.h"
52 #include "core/dom/StyleEngine.h" 54 #include "core/dom/StyleEngine.h"
53 #include "core/events/AnimationEvent.h" 55 #include "core/events/AnimationEvent.h"
54 #include "core/events/TransitionEvent.h" 56 #include "core/events/TransitionEvent.h"
55 #include "core/frame/UseCounter.h" 57 #include "core/frame/UseCounter.h"
56 #include "core/layout/LayoutObject.h" 58 #include "core/layout/LayoutObject.h"
57 #include "core/paint/PaintLayer.h" 59 #include "core/paint/PaintLayer.h"
58 #include "platform/Histogram.h" 60 #include "platform/Histogram.h"
59 #include "platform/animation/TimingFunction.h" 61 #include "platform/animation/TimingFunction.h"
60 #include "public/platform/Platform.h" 62 #include "public/platform/Platform.h"
61 #include "wtf/HashSet.h" 63 #include "wtf/HashSet.h"
62 #include <algorithm>
63 #include <bitset>
64 64
65 namespace blink { 65 namespace blink {
66 66
67 using PropertySet = HashSet<CSSPropertyID>; 67 using PropertySet = HashSet<CSSPropertyID>;
68 68
69 namespace { 69 namespace {
70 70
71 static StringKeyframeEffectModel* createKeyframeEffectModel( 71 static StringKeyframeEffectModel* createKeyframeEffectModel(
72 StyleResolver* resolver, 72 StyleResolver* resolver,
73 const Element* animatingElement, 73 const Element* animatingElement,
(...skipping 994 matching lines...) Expand 10 before | Expand all | Expand 10 after
1068 isCustomPropertyHandle); 1068 isCustomPropertyHandle);
1069 } 1069 }
1070 1070
1071 DEFINE_TRACE(CSSAnimations) { 1071 DEFINE_TRACE(CSSAnimations) {
1072 visitor->trace(m_transitions); 1072 visitor->trace(m_transitions);
1073 visitor->trace(m_pendingUpdate); 1073 visitor->trace(m_pendingUpdate);
1074 visitor->trace(m_runningAnimations); 1074 visitor->trace(m_runningAnimations);
1075 } 1075 }
1076 1076
1077 } // namespace blink 1077 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698