Index: Source/core/rendering/style/RenderStyle.h |
diff --git a/Source/core/rendering/style/RenderStyle.h b/Source/core/rendering/style/RenderStyle.h |
index 6d60e8da2f63b5b9a4deb3e129ed133e1f741bbd..e10f4e53910b980897cdb34e52a44f53851ac8d6 100644 |
--- a/Source/core/rendering/style/RenderStyle.h |
+++ b/Source/core/rendering/style/RenderStyle.h |
@@ -92,6 +92,7 @@ using std::max; |
class FilterOperations; |
class BorderData; |
+class CSSSelectorWatch; |
class CounterContent; |
class CursorList; |
class Font; |
@@ -732,6 +733,7 @@ public: |
EBoxPack boxPack() const { return static_cast<EBoxPack>(rareNonInheritedData->m_deprecatedFlexibleBox->pack); } |
int order() const { return rareNonInheritedData->m_order; } |
+ const Vector<String>& callbackSelectors() const { return rareNonInheritedData->m_callbackSelectors; } |
float flexGrow() const { return rareNonInheritedData->m_flexibleBox->m_flexGrow; } |
float flexShrink() const { return rareNonInheritedData->m_flexibleBox->m_flexShrink; } |
Length flexBasis() const { return rareNonInheritedData->m_flexibleBox->m_flexBasis; } |
@@ -1186,6 +1188,8 @@ public: |
void setFlexShrink(float f) { SET_VAR(rareNonInheritedData.access()->m_flexibleBox, m_flexShrink, f); } |
void setFlexBasis(Length length) { SET_VAR(rareNonInheritedData.access()->m_flexibleBox, m_flexBasis, length); } |
void setOrder(int o) { SET_VAR(rareNonInheritedData, m_order, o); } |
+ void addCallbackSelector(const String& selector, CSSSelectorWatch*); |
+ void removeCallbackSelector(const String& selector); |
void setAlignContent(EAlignContent p) { SET_VAR(rareNonInheritedData, m_alignContent, p); } |
void setAlignItems(EAlignItems a) { SET_VAR(rareNonInheritedData, m_alignItems, a); } |
void setAlignSelf(EAlignItems a) { SET_VAR(rareNonInheritedData, m_alignSelf, a); } |