| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 DescendantInvalidationSet& ensureNthInvalidationSet(); | 147 DescendantInvalidationSet& ensureNthInvalidationSet(); |
| 148 | 148 |
| 149 void updateInvalidationSets(const RuleData&); | 149 void updateInvalidationSets(const RuleData&); |
| 150 void updateInvalidationSetsForContentAttribute(const RuleData&); | 150 void updateInvalidationSetsForContentAttribute(const RuleData&); |
| 151 | 151 |
| 152 struct InvalidationSetFeatures { | 152 struct InvalidationSetFeatures { |
| 153 DISALLOW_NEW(); | 153 DISALLOW_NEW(); |
| 154 | 154 |
| 155 Vector<AtomicString> classes; | 155 Vector<AtomicString> classes; |
| 156 Vector<AtomicString> attributes; | 156 Vector<AtomicString> attributes; |
| 157 AtomicString id; | 157 Vector<AtomicString> ids; |
| 158 AtomicString tagName; | 158 Vector<AtomicString> tagNames; |
| 159 unsigned maxDirectAdjacentSelectors = UINT_MAX; | 159 unsigned maxDirectAdjacentSelectors = UINT_MAX; |
| 160 bool customPseudoElement = false; | 160 bool customPseudoElement = false; |
| 161 bool hasBeforeOrAfter = false; | 161 bool hasBeforeOrAfter = false; |
| 162 bool treeBoundaryCrossing = false; | 162 bool treeBoundaryCrossing = false; |
| 163 bool adjacent = false; | 163 bool adjacent = false; |
| 164 bool insertionPointCrossing = false; | 164 bool insertionPointCrossing = false; |
| 165 bool forceSubtree = false; | 165 bool forceSubtree = false; |
| 166 bool contentPseudoCrossing = false; | 166 bool contentPseudoCrossing = false; |
| 167 bool invalidatesSlotted = false; | 167 bool invalidatesSlotted = false; |
| 168 bool hasNthPseudo = false; | 168 bool hasNthPseudo = false; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 191 | 191 |
| 192 // If true, the RuleFeatureSet is alive and can be used. | 192 // If true, the RuleFeatureSet is alive and can be used. |
| 193 unsigned m_isAlive : 1; | 193 unsigned m_isAlive : 1; |
| 194 | 194 |
| 195 friend class RuleFeatureSetTest; | 195 friend class RuleFeatureSetTest; |
| 196 }; | 196 }; |
| 197 | 197 |
| 198 } // namespace blink | 198 } // namespace blink |
| 199 | 199 |
| 200 #endif // RuleFeature_h | 200 #endif // RuleFeature_h |
| OLD | NEW |