webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Attributes | List of all members
WebCore::PropertyWrapper< T > Class Template Reference
Inheritance diagram for WebCore::PropertyWrapper< T >:
WebCore::PropertyWrapperGetter< T > WebCore::AnimationPropertyWrapperBase

Public Member Functions

 PropertyWrapper (CSSPropertyID prop, T(RenderStyle::*getter)() const, void(RenderStyle::*setter)(T))
 
void blend (const AnimationBase *anim, RenderStyle *dst, const RenderStyle *a, const RenderStyle *b, double progress) const override
 
- Public Member Functions inherited from WebCore::PropertyWrapperGetter< T >
 PropertyWrapperGetter (CSSPropertyID prop, T(RenderStyle::*getter)() const)
 
bool equals (const RenderStyle *a, const RenderStyle *b) const override
 
T value (const RenderStyle *a) const
 
void logBlend (const RenderStyle *a, const RenderStyle *b, const RenderStyle *result, double progress) const final
 
- Public Member Functions inherited from WebCore::AnimationPropertyWrapperBase
 AnimationPropertyWrapperBase (CSSPropertyID prop)
 
virtual ~AnimationPropertyWrapperBase ()
 
virtual bool isShorthandWrapper () const
 
CSSPropertyID property () const
 
virtual bool animationIsAccelerated () const
 

Protected Attributes

void(RenderStyle::* m_setter )(T)
 
- Protected Attributes inherited from WebCore::PropertyWrapperGetter< T >
T(RenderStyle::* m_getter )() const
 

Constructor & Destructor Documentation

◆ PropertyWrapper()

template<typename T>
WebCore::PropertyWrapper< T >::PropertyWrapper ( CSSPropertyID  prop,
T(RenderStyle::*)() const  getter,
void(RenderStyle::*)(T setter 
)
inline

Member Function Documentation

◆ blend()

template<typename T>
void WebCore::PropertyWrapper< T >::blend ( const AnimationBase anim,
RenderStyle dst,
const RenderStyle a,
const RenderStyle b,
double  progress 
) const
inlineoverridevirtual

Member Data Documentation

◆ m_setter

template<typename T>
void(RenderStyle::* WebCore::PropertyWrapper< T >::m_setter) (T)
protected

The documentation for this class was generated from the following file: