| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. | 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. |
| 4 * All rights reserved. | 4 * All rights reserved. |
| 5 * Copyright (C) 2012 Google Inc. All rights reserved. | 5 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
| 8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
| 9 * are met: | 9 * are met: |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 void collectMatchingShadowHostRules(ElementRuleCollector&, | 65 void collectMatchingShadowHostRules(ElementRuleCollector&, |
| 66 CascadeOrder = ignoreCascadeOrder); | 66 CascadeOrder = ignoreCascadeOrder); |
| 67 void collectMatchingTreeBoundaryCrossingRules( | 67 void collectMatchingTreeBoundaryCrossingRules( |
| 68 ElementRuleCollector&, | 68 ElementRuleCollector&, |
| 69 CascadeOrder = ignoreCascadeOrder); | 69 CascadeOrder = ignoreCascadeOrder); |
| 70 void matchPageRules(PageRuleCollector&); | 70 void matchPageRules(PageRuleCollector&); |
| 71 void collectFeaturesTo(RuleFeatureSet&, | 71 void collectFeaturesTo(RuleFeatureSet&, |
| 72 HeapHashSet<Member<const StyleSheetContents>>& | 72 HeapHashSet<Member<const StyleSheetContents>>& |
| 73 visitedSharedStyleSheetContents) const; | 73 visitedSharedStyleSheetContents) const; |
| 74 void resetAuthorStyle(); | 74 void resetAuthorStyle(); |
| 75 void collectViewportRulesTo(ViewportStyleResolver*) const; | |
| 76 bool hasDeepOrShadowSelector() const { return m_hasDeepOrShadowSelector; } | 75 bool hasDeepOrShadowSelector() const { return m_hasDeepOrShadowSelector; } |
| 77 void setHasUnresolvedKeyframesRule() { m_hasUnresolvedKeyframesRule = true; } | 76 void setHasUnresolvedKeyframesRule() { m_hasUnresolvedKeyframesRule = true; } |
| 78 static void keyframesRulesAdded(const TreeScope&); | 77 static void keyframesRulesAdded(const TreeScope&); |
| 79 static ContainerNode& invalidationRootForTreeScope(const TreeScope&); | 78 static ContainerNode& invalidationRootForTreeScope(const TreeScope&); |
| 80 | 79 |
| 81 DECLARE_TRACE(); | 80 DECLARE_TRACE(); |
| 82 | 81 |
| 83 private: | 82 private: |
| 84 explicit ScopedStyleResolver(TreeScope& scope) : m_scope(scope) {} | 83 explicit ScopedStyleResolver(TreeScope& scope) : m_scope(scope) {} |
| 85 | 84 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 using CSSStyleSheetRuleSubSet = HeapVector<Member<RuleSubSet>>; | 118 using CSSStyleSheetRuleSubSet = HeapVector<Member<RuleSubSet>>; |
| 120 | 119 |
| 121 Member<CSSStyleSheetRuleSubSet> m_treeBoundaryCrossingRuleSet; | 120 Member<CSSStyleSheetRuleSubSet> m_treeBoundaryCrossingRuleSet; |
| 122 bool m_hasDeepOrShadowSelector = false; | 121 bool m_hasDeepOrShadowSelector = false; |
| 123 bool m_hasUnresolvedKeyframesRule = false; | 122 bool m_hasUnresolvedKeyframesRule = false; |
| 124 }; | 123 }; |
| 125 | 124 |
| 126 } // namespace blink | 125 } // namespace blink |
| 127 | 126 |
| 128 #endif // ScopedStyleResolver_h | 127 #endif // ScopedStyleResolver_h |
| OLD | NEW |