StyleRareInheritedData.h [plain text]
#ifndef StyleRareInheritedData_h
#define StyleRareInheritedData_h
#include "AtomicString.h"
#include "Color.h"
#include "Length.h"
#include <wtf/RefCounted.h>
#include <wtf/PassRefPtr.h>
#include "TextSizeAdjustment.h"
namespace WebCore {
class CursorList;
class ShadowData;
class StyleRareInheritedData : public RefCounted<StyleRareInheritedData> {
public:
static PassRefPtr<StyleRareInheritedData> create() { return adoptRef(new StyleRareInheritedData); }
PassRefPtr<StyleRareInheritedData> copy() const { return adoptRef(new StyleRareInheritedData(*this)); }
~StyleRareInheritedData();
bool operator==(const StyleRareInheritedData& o) const;
bool operator!=(const StyleRareInheritedData& o) const
{
return !(*this == o);
}
bool shadowDataEquivalent(const StyleRareInheritedData&) const;
Color textStrokeColor;
float textStrokeWidth;
Color textFillColor;
ShadowData* textShadow; AtomicString highlight;
RefPtr<CursorList> cursorData;
Length indent;
float m_effectiveZoom;
short widows;
short orphans;
unsigned textSecurity : 2; unsigned userModify : 2; unsigned wordBreak : 2; unsigned wordWrap : 1; unsigned nbspMode : 1; unsigned khtmlLineBreak : 1; unsigned resize : 2; unsigned userSelect : 1; unsigned colorSpace : 1; unsigned touchCalloutEnabled : 1;
unsigned hyphens : 2; Color tapHighlightColor;
Color compositionFillColor;
Color compositionFrameColor;
TextSizeAdjustment textSizeAdjust;
AtomicString hyphenationString;
AtomicString hyphenationLocale;
private:
StyleRareInheritedData();
StyleRareInheritedData(const StyleRareInheritedData&);
};
}
#endif // StyleRareInheritedData_h