Index: third_party/WebKit/Source/core/dom/StyleEngine.h |
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.h b/third_party/WebKit/Source/core/dom/StyleEngine.h |
index 144b8f9084b2b10f8726f78f39e8552eda8aac60..b7be7152b0f3a43b7c699d911c3fb25aa59736b3 100644 |
--- a/third_party/WebKit/Source/core/dom/StyleEngine.h |
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.h |
@@ -55,6 +55,12 @@ class StyleRuleFontFace; |
class StyleSheet; |
class StyleSheetContents; |
+enum ShadowCascadeOrder { |
+ ShadowCascadeNone = 0, |
rune
2016/03/22 08:57:07
Enums start at 0 if not specified, so the explicit
kochi
2016/03/22 09:36:26
Done.
|
+ ShadowCascadeV0, |
+ ShadowCascadeV1 |
+}; |
+ |
class CORE_EXPORT StyleEngine final : public NoBaseWillBeGarbageCollectedFinalized<StyleEngine>, public CSSFontSelectorClient { |
USING_FAST_MALLOC_WILL_BE_REMOVED(StyleEngine); |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(StyleEngine); |
@@ -178,6 +184,9 @@ public: |
StyleResolverStats* stats() { return m_styleResolverStats.get(); } |
void setStatsEnabled(bool); |
+ ShadowCascadeOrder shadowCascadeOrder() const { return m_shadowCascadeOrder; } |
+ void setShadowCascadeOrder(ShadowCascadeOrder); |
+ |
DECLARE_VIRTUAL_TRACE(); |
private: |
@@ -252,6 +261,9 @@ private: |
bool m_ignorePendingStylesheets = false; |
bool m_didCalculateResolver = false; |
+ |
+ ShadowCascadeOrder m_shadowCascadeOrder = ShadowCascadeNone; |
+ |
OwnPtrWillBeMember<StyleResolver> m_resolver; |
StyleInvalidator m_styleInvalidator; |