|
Lines 1039-1045
private:
WebCore/rendering/RenderStyle.h_sec1
|
| 1039 |
}; |
1039 |
}; |
| 1040 |
|
1040 |
|
| 1041 |
enum ContentType { |
1041 |
enum ContentType { |
| 1042 |
CONTENT_NONE, CONTENT_OBJECT, CONTENT_TEXT, CONTENT_COUNTER |
1042 |
CONTENT_NONE, CONTENT_OBJECT, CONTENT_TEXT, CONTENT_COUNTER, CONTENT_QUOTE |
|
|
1043 |
}; |
| 1044 |
|
| 1045 |
enum QuoteContent { |
| 1046 |
QUOTE_NONE, OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE |
| 1043 |
}; |
1047 |
}; |
| 1044 |
|
1048 |
|
| 1045 |
struct ContentData : Noncopyable { |
1049 |
struct ContentData : Noncopyable { |
|
Lines 1053-1062
struct ContentData : Noncopyable {
WebCore/rendering/RenderStyle.h_sec2
|
| 1053 |
CachedResource* m_object; |
1057 |
CachedResource* m_object; |
| 1054 |
StringImpl* m_text; |
1058 |
StringImpl* m_text; |
| 1055 |
CounterContent* m_counter; |
1059 |
CounterContent* m_counter; |
|
|
1060 |
QuoteContent m_quote; |
| 1056 |
} m_content; |
1061 |
} m_content; |
| 1057 |
ContentData* m_next; |
1062 |
ContentData* m_next; |
| 1058 |
}; |
1063 |
}; |
| 1059 |
|
1064 |
|
|
|
1065 |
class QuotesData { |
| 1066 |
public: |
| 1067 |
QuotesData() { } |
| 1068 |
QuotesData(const QuotesData& o) |
| 1069 |
: m_openQuotes(o.m_openQuotes), m_closeQuotes(o.m_closeQuotes) { } |
| 1070 |
|
| 1071 |
void addLevel(const AtomicString &open, const AtomicString &close); |
| 1072 |
const AtomicString openQuote(int level) const; |
| 1073 |
const AtomicString closeQuote(int level) const; |
| 1074 |
|
| 1075 |
bool operator==(const QuotesData& o) const; |
| 1076 |
bool operator!=(const QuotesData& o) const { |
| 1077 |
return !(*this == o); |
| 1078 |
} |
| 1079 |
|
| 1080 |
private: |
| 1081 |
Vector<AtomicString> m_openQuotes; |
| 1082 |
Vector<AtomicString> m_closeQuotes; |
| 1083 |
}; |
| 1084 |
|
| 1060 |
enum EBorderFit { BorderFitBorder, BorderFitLines }; |
1085 |
enum EBorderFit { BorderFitBorder, BorderFitLines }; |
| 1061 |
|
1086 |
|
| 1062 |
enum ETimingFunctionType { LinearTimingFunction, CubicBezierTimingFunction }; |
1087 |
enum ETimingFunctionType { LinearTimingFunction, CubicBezierTimingFunction }; |
|
Lines 1217-1222
public:
WebCore/rendering/RenderStyle.h_sec3
|
| 1217 |
return !(*this == o); |
1242 |
return !(*this == o); |
| 1218 |
} |
1243 |
} |
| 1219 |
bool shadowDataEquivalent(const StyleRareInheritedData&) const; |
1244 |
bool shadowDataEquivalent(const StyleRareInheritedData&) const; |
|
|
1245 |
bool quotesDataEquivalent(const StyleRareInheritedData&) const; |
| 1220 |
|
1246 |
|
| 1221 |
Color textStrokeColor; |
1247 |
Color textStrokeColor; |
| 1222 |
float textStrokeWidth; |
1248 |
float textStrokeWidth; |
|
Lines 1233-1239
public:
WebCore/rendering/RenderStyle.h_sec4
|
| 1233 |
bool textSizeAdjust : 1; // An Apple extension. |
1259 |
bool textSizeAdjust : 1; // An Apple extension. |
| 1234 |
unsigned resize : 2; // EResize |
1260 |
unsigned resize : 2; // EResize |
| 1235 |
unsigned userSelect : 1; // EUserSelect |
1261 |
unsigned userSelect : 1; // EUserSelect |
| 1236 |
|
1262 |
|
|
|
1263 |
QuotesData* m_quotes; // The quotes list used by 'content: *-quote' |
| 1264 |
|
| 1237 |
private: |
1265 |
private: |
| 1238 |
StyleRareInheritedData(); |
1266 |
StyleRareInheritedData(); |
| 1239 |
StyleRareInheritedData(const StyleRareInheritedData&); |
1267 |
StyleRareInheritedData(const StyleRareInheritedData&); |
|
Lines 1778-1783
public:
WebCore/rendering/RenderStyle.h_sec5
|
| 1778 |
EEmptyCell emptyCells() const { return static_cast<EEmptyCell>(inherited_flags._empty_cells); } |
1806 |
EEmptyCell emptyCells() const { return static_cast<EEmptyCell>(inherited_flags._empty_cells); } |
| 1779 |
ECaptionSide captionSide() const { return static_cast<ECaptionSide>(inherited_flags._caption_side); } |
1807 |
ECaptionSide captionSide() const { return static_cast<ECaptionSide>(inherited_flags._caption_side); } |
| 1780 |
|
1808 |
|
|
|
1809 |
QuotesData* quotes() const { return rareInheritedData->m_quotes; } |
| 1781 |
short counterIncrement() const { return visual->counterIncrement; } |
1810 |
short counterIncrement() const { return visual->counterIncrement; } |
| 1782 |
short counterReset() const { return visual->counterReset; } |
1811 |
short counterReset() const { return visual->counterReset; } |
| 1783 |
|
1812 |
|
|
Lines 2010-2015
public:
WebCore/rendering/RenderStyle.h_sec6
|
| 2010 |
void setEmptyCells(EEmptyCell v) { inherited_flags._empty_cells = v; } |
2039 |
void setEmptyCells(EEmptyCell v) { inherited_flags._empty_cells = v; } |
| 2011 |
void setCaptionSide(ECaptionSide v) { inherited_flags._caption_side = v; } |
2040 |
void setCaptionSide(ECaptionSide v) { inherited_flags._caption_side = v; } |
| 2012 |
|
2041 |
|
|
|
2042 |
void setQuotes(QuotesData* v) { SET_VAR(rareInheritedData, m_quotes, v); } |
| 2013 |
|
2043 |
|
| 2014 |
void setCounterIncrement(short v) { SET_VAR(visual,counterIncrement,v) } |
2044 |
void setCounterIncrement(short v) { SET_VAR(visual,counterIncrement,v) } |
| 2015 |
void setCounterReset(short v) { SET_VAR(visual,counterReset,v) } |
2045 |
void setCounterReset(short v) { SET_VAR(visual,counterReset,v) } |
|
Lines 2130-2141
public:
WebCore/rendering/RenderStyle.h_sec7
|
| 2130 |
SVGRenderStyle* accessSVGStyle() { return m_svgStyle.access(); } |
2160 |
SVGRenderStyle* accessSVGStyle() { return m_svgStyle.access(); } |
| 2131 |
#endif |
2161 |
#endif |
| 2132 |
|
2162 |
|
|
|
2163 |
const QuotesData* quotesData() const { return rareInheritedData->m_quotes; } |
| 2133 |
const ContentData* contentData() const { return rareNonInheritedData->m_content; } |
2164 |
const ContentData* contentData() const { return rareNonInheritedData->m_content; } |
| 2134 |
bool contentDataEquivalent(const RenderStyle* otherStyle) const; |
2165 |
bool contentDataEquivalent(const RenderStyle* otherStyle) const; |
| 2135 |
void clearContent(); |
2166 |
void clearContent(); |
| 2136 |
void setContent(StringImpl*, bool add = false); |
2167 |
void setContent(StringImpl*, bool add = false); |
| 2137 |
void setContent(CachedResource*, bool add = false); |
2168 |
void setContent(CachedResource*, bool add = false); |
| 2138 |
void setContent(CounterContent*, bool add = false); |
2169 |
void setContent(CounterContent*, bool add = false); |
|
|
2170 |
void setContent(QuoteContent, bool add = false); |
| 2139 |
|
2171 |
|
| 2140 |
const CounterDirectiveMap* counterDirectives() const; |
2172 |
const CounterDirectiveMap* counterDirectives() const; |
| 2141 |
CounterDirectiveMap& accessCounterDirectives(); |
2173 |
CounterDirectiveMap& accessCounterDirectives(); |
|
Lines 2283-2289
public:
WebCore/rendering/RenderStyle.h_sec8
|
| 2283 |
static const TransformOperations& initialTransform() { static TransformOperations ops; return ops; } |
2315 |
static const TransformOperations& initialTransform() { static TransformOperations ops; return ops; } |
| 2284 |
static Length initialTransformOriginX() { return Length(50.0, Percent); } |
2316 |
static Length initialTransformOriginX() { return Length(50.0, Percent); } |
| 2285 |
static Length initialTransformOriginY() { return Length(50.0, Percent); } |
2317 |
static Length initialTransformOriginY() { return Length(50.0, Percent); } |
| 2286 |
|
2318 |
static QuotesData* initialQuotes() { return 0; } |
|
|
2319 |
|
| 2287 |
// Keep these at the end. |
2320 |
// Keep these at the end. |
| 2288 |
static int initialTransitionDuration() { return 0; } |
2321 |
static int initialTransitionDuration() { return 0; } |
| 2289 |
static int initialTransitionRepeatCount() { return 1; } |
2322 |
static int initialTransitionRepeatCount() { return 1; } |