| 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.
All rights reserved. | 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 } | 156 } |
| 157 | 157 |
| 158 RuleFeatureSet& ruleFeatureSet() | 158 RuleFeatureSet& ruleFeatureSet() |
| 159 { | 159 { |
| 160 return m_features; | 160 return m_features; |
| 161 } | 161 } |
| 162 | 162 |
| 163 StyleSharingList& styleSharingList(); | 163 StyleSharingList& styleSharingList(); |
| 164 | 164 |
| 165 bool hasRulesForId(const AtomicString&) const; | 165 bool hasRulesForId(const AtomicString&) const; |
| 166 bool hasFullscreenUAStyle() const { return m_hasFullscreenUAStyle; } |
| 166 | 167 |
| 167 void addToStyleSharingList(Element&); | 168 void addToStyleSharingList(Element&); |
| 168 void clearStyleSharingList(); | 169 void clearStyleSharingList(); |
| 169 | 170 |
| 170 void increaseStyleSharingDepth() { ++m_styleSharingDepth; } | 171 void increaseStyleSharingDepth() { ++m_styleSharingDepth; } |
| 171 void decreaseStyleSharingDepth() { --m_styleSharingDepth; } | 172 void decreaseStyleSharingDepth() { --m_styleSharingDepth; } |
| 172 | 173 |
| 173 PassRefPtrWillBeRawPtr<PseudoElement> createPseudoElementIfNeeded(Element& p
arent, PseudoId); | 174 PassRefPtrWillBeRawPtr<PseudoElement> createPseudoElementIfNeeded(Element& p
arent, PseudoId); |
| 174 | 175 |
| 175 DECLARE_TRACE(); | 176 DECLARE_TRACE(); |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 // between various parts of machinery smells wrong. This needs to be better
somehow. | 241 // between various parts of machinery smells wrong. This needs to be better
somehow. |
| 241 RuleFeatureSet m_features; | 242 RuleFeatureSet m_features; |
| 242 OwnPtrWillBeMember<RuleSet> m_siblingRuleSet; | 243 OwnPtrWillBeMember<RuleSet> m_siblingRuleSet; |
| 243 OwnPtrWillBeMember<RuleSet> m_uncommonAttributeRuleSet; | 244 OwnPtrWillBeMember<RuleSet> m_uncommonAttributeRuleSet; |
| 244 OwnPtrWillBeMember<RuleSet> m_watchedSelectorsRules; | 245 OwnPtrWillBeMember<RuleSet> m_watchedSelectorsRules; |
| 245 | 246 |
| 246 DocumentOrderedList m_treeBoundaryCrossingScopes; | 247 DocumentOrderedList m_treeBoundaryCrossingScopes; |
| 247 | 248 |
| 248 bool m_needCollectFeatures; | 249 bool m_needCollectFeatures; |
| 249 bool m_printMediaType; | 250 bool m_printMediaType; |
| 251 bool m_hasFullscreenUAStyle = false; |
| 250 | 252 |
| 251 unsigned m_styleSharingDepth; | 253 unsigned m_styleSharingDepth; |
| 252 WillBeHeapVector<OwnPtrWillBeMember<StyleSharingList>, styleSharingMaxDepth>
m_styleSharingLists; | 254 WillBeHeapVector<OwnPtrWillBeMember<StyleSharingList>, styleSharingMaxDepth>
m_styleSharingLists; |
| 253 }; | 255 }; |
| 254 | 256 |
| 255 } // namespace blink | 257 } // namespace blink |
| 256 | 258 |
| 257 #endif // StyleResolver_h | 259 #endif // StyleResolver_h |
| OLD | NEW |