Chromium Code Reviews| Index: Source/core/style/ComputedStyle.h |
| diff --git a/Source/core/style/ComputedStyle.h b/Source/core/style/ComputedStyle.h |
| index dcaba3799d9cd350b768467b630688f4c6a187b9..e214c7a30d4f52899cc20e59acff35b9e5b8ae5e 100644 |
| --- a/Source/core/style/ComputedStyle.h |
| +++ b/Source/core/style/ComputedStyle.h |
| @@ -1564,6 +1564,11 @@ public: |
| bool borderObscuresBackground() const; |
| void getBorderEdgeInfo(BorderEdge edges[], bool includeLogicalLeftEdge = true, bool includeLogicalRightEdge = true) const; |
| + void setHasAuthorBackground(bool authorBg) { SET_VAR(rareNonInheritedData, m_hasAuthorBackground, authorBg ? 1 : 0); } |
|
Timothy Loh
2015/07/29 03:37:08
No need to abbreviate background. Also does the te
meade_UTC10
2015/07/30 05:38:18
SET_VAR seems to do bitwise operations, and I didn
|
| + void setHasAuthorBorder(bool authorBorder) { SET_VAR(rareNonInheritedData, m_hasAuthorBorder, authorBorder ? 1 : 0); } |
| + bool hasAuthorBackground() const { return rareNonInheritedData->m_hasAuthorBackground; }; |
| + bool hasAuthorBorder() const { return rareNonInheritedData->m_hasAuthorBorder; }; |
| + |
| // Initial values for all the properties |
| static EBorderCollapse initialBorderCollapse() { return BSEPARATE; } |
| static EBorderStyle initialBorderStyle() { return BNONE; } |