StyleRareNonInheritedData.h [plain text]
#ifndef StyleRareNonInheritedData_h
#define StyleRareNonInheritedData_h
#include "CounterDirectives.h"
#include "CursorData.h"
#include "DataRef.h"
#include "FillLayer.h"
#include "LineClampValue.h"
#include "NinePieceImage.h"
#include "StyleTransformData.h"
#include <wtf/OwnPtr.h>
#include <wtf/PassRefPtr.h>
#include <wtf/Vector.h>
namespace WebCore {
class AnimationList;
class CSSStyleSelector;
class StyleFlexibleBoxData;
class StyleMarqueeData;
class StyleMultiColData;
class StyleReflection;
class StyleTransformData;
struct ContentData;
struct ShadowData;
#if ENABLE(DASHBOARD_SUPPORT)
class StyleDashboardRegion;
#endif
#if ENABLE(XBL)
class BindingURI;
#endif
class StyleRareNonInheritedData : public RefCounted<StyleRareNonInheritedData> {
public:
static PassRefPtr<StyleRareNonInheritedData> create() { return adoptRef(new StyleRareNonInheritedData); }
PassRefPtr<StyleRareNonInheritedData> copy() const { return adoptRef(new StyleRareNonInheritedData(*this)); }
~StyleRareNonInheritedData();
#if ENABLE(XBL)
bool bindingsEquivalent(const StyleRareNonInheritedData&) const;
#endif
bool operator==(const StyleRareNonInheritedData&) const;
bool operator!=(const StyleRareNonInheritedData& o) const { return !(*this == o); }
bool contentDataEquivalent(const StyleRareNonInheritedData& o) const;
bool shadowDataEquivalent(const StyleRareNonInheritedData& o) const;
bool reflectionDataEquivalent(const StyleRareNonInheritedData& o) const;
bool animationDataEquivalent(const StyleRareNonInheritedData&) const;
bool transitionDataEquivalent(const StyleRareNonInheritedData&) const;
LineClampValue lineClamp; #if ENABLE(DASHBOARD_SUPPORT)
Vector<StyleDashboardRegion> m_dashboardRegions;
#endif
float opacity;
DataRef<StyleFlexibleBoxData> flexibleBox; DataRef<StyleMarqueeData> marquee; DataRef<StyleMultiColData> m_multiCol; DataRef<StyleTransformData> m_transform;
OwnPtr<ContentData> m_content;
OwnPtr<CounterDirectiveMap> m_counterDirectives;
unsigned userDrag : 2; bool textOverflow : 1; unsigned marginTopCollapse : 2; unsigned marginBottomCollapse : 2; unsigned matchNearestMailBlockquoteColor : 1; unsigned m_appearance : 6; unsigned m_borderFit : 1; #if USE(ACCELERATED_COMPOSITING)
bool m_runningAcceleratedAnimation : 1;
#endif
unsigned m_imageLoadingBorder : 1;
OwnPtr<ShadowData> m_boxShadow;
RefPtr<StyleReflection> m_boxReflect;
OwnPtr<AnimationList> m_animations;
OwnPtr<AnimationList> m_transitions;
FillLayer m_mask;
NinePieceImage m_maskBoxImage;
ETransformStyle3D m_transformStyle3D;
EBackfaceVisibility m_backfaceVisibility;
float m_perspective;
Length m_perspectiveOriginX;
Length m_perspectiveOriginY;
#if ENABLE(XBL)
OwnPtr<BindingURI> bindingURI; #endif
private:
StyleRareNonInheritedData();
StyleRareNonInheritedData(const StyleRareNonInheritedData&);
};
}
#endif // StyleRareNonInheritedData_h