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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/animation/StringKeyframe.h" 5 #include "core/animation/StringKeyframe.h"
6 6
7 #include "core/StylePropertyShorthand.h" 7 #include "core/StylePropertyShorthand.h"
8 #include "core/XLinkNames.h" 8 #include "core/XLinkNames.h"
9 #include "core/animation/CSSColorInterpolationType.h" 9 #include "core/animation/CSSColorInterpolationType.h"
10 #include "core/animation/CSSFontWeightInterpolationType.h" 10 #include "core/animation/CSSFontWeightInterpolationType.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 { 61 {
62 } 62 }
63 63
64 void StringKeyframe::setCSSPropertyValue(CSSPropertyID property, const String& v alue, Element* element, StyleSheetContents* styleSheetContents) 64 void StringKeyframe::setCSSPropertyValue(CSSPropertyID property, const String& v alue, Element* element, StyleSheetContents* styleSheetContents)
65 { 65 {
66 ASSERT(property != CSSPropertyInvalid); 66 ASSERT(property != CSSPropertyInvalid);
67 if (CSSAnimations::isAnimatableProperty(property)) 67 if (CSSAnimations::isAnimatableProperty(property))
68 m_cssPropertyMap->setProperty(property, value, false, styleSheetContents ); 68 m_cssPropertyMap->setProperty(property, value, false, styleSheetContents );
69 } 69 }
70 70
71 void StringKeyframe::setCSSPropertyValue(CSSPropertyID property, PassRefPtrWillB eRawPtr<CSSValue> value) 71 void StringKeyframe::setCSSPropertyValue(CSSPropertyID property, RawPtr<CSSValue > value)
72 { 72 {
73 ASSERT(property != CSSPropertyInvalid); 73 ASSERT(property != CSSPropertyInvalid);
74 ASSERT(CSSAnimations::isAnimatableProperty(property)); 74 ASSERT(CSSAnimations::isAnimatableProperty(property));
75 m_cssPropertyMap->setProperty(property, value, false); 75 m_cssPropertyMap->setProperty(property, value, false);
76 } 76 }
77 77
78 void StringKeyframe::setPresentationAttributeValue(CSSPropertyID property, const String& value, Element* element, StyleSheetContents* styleSheetContents) 78 void StringKeyframe::setPresentationAttributeValue(CSSPropertyID property, const String& value, Element* element, StyleSheetContents* styleSheetContents)
79 { 79 {
80 ASSERT(property != CSSPropertyInvalid); 80 ASSERT(property != CSSPropertyInvalid);
81 if (CSSAnimations::isAnimatableProperty(property)) 81 if (CSSAnimations::isAnimatableProperty(property))
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 } 619 }
620 620
621 PassRefPtr<Interpolation> SVGPropertySpecificKeyframe::maybeCreateInterpolation( PropertyHandle propertyHandle, Keyframe::PropertySpecificKeyframe& end, Element* , const ComputedStyle*) const 621 PassRefPtr<Interpolation> SVGPropertySpecificKeyframe::maybeCreateInterpolation( PropertyHandle propertyHandle, Keyframe::PropertySpecificKeyframe& end, Element* , const ComputedStyle*) const
622 { 622 {
623 const InterpolationTypes* applicableTypes = applicableTypesForProperty(prope rtyHandle); 623 const InterpolationTypes* applicableTypes = applicableTypesForProperty(prope rtyHandle);
624 ASSERT(applicableTypes); 624 ASSERT(applicableTypes);
625 return InvalidatableInterpolation::create(propertyHandle, *applicableTypes, *this, end); 625 return InvalidatableInterpolation::create(propertyHandle, *applicableTypes, *this, end);
626 } 626 }
627 627
628 } // namespace blink 628 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698