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 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 InvalidationSetFeatures* siblingFeatures, | 273 InvalidationSetFeatures* siblingFeatures, |
274 InvalidationSetFeatures& descendantFeatures); | 274 InvalidationSetFeatures& descendantFeatures); |
275 void addFeaturesToInvalidationSetsForSelectorList( | 275 void addFeaturesToInvalidationSetsForSelectorList( |
276 const CSSSelector&, | 276 const CSSSelector&, |
277 InvalidationSetFeatures* siblingFeatures, | 277 InvalidationSetFeatures* siblingFeatures, |
278 InvalidationSetFeatures& descendantFeatures); | 278 InvalidationSetFeatures& descendantFeatures); |
279 void addFeaturesToUniversalSiblingInvalidationSet( | 279 void addFeaturesToUniversalSiblingInvalidationSet( |
280 const InvalidationSetFeatures& siblingFeatures, | 280 const InvalidationSetFeatures& siblingFeatures, |
281 const InvalidationSetFeatures& descendantFeatures); | 281 const InvalidationSetFeatures& descendantFeatures); |
282 | 282 |
283 void addClassToInvalidationSet(const AtomicString& className, Element&); | |
284 | |
285 FeatureMetadata m_metadata; | 283 FeatureMetadata m_metadata; |
286 InvalidationSetMap m_classInvalidationSets; | 284 InvalidationSetMap m_classInvalidationSets; |
287 InvalidationSetMap m_attributeInvalidationSets; | 285 InvalidationSetMap m_attributeInvalidationSets; |
288 InvalidationSetMap m_idInvalidationSets; | 286 InvalidationSetMap m_idInvalidationSets; |
289 PseudoTypeInvalidationSetMap m_pseudoInvalidationSets; | 287 PseudoTypeInvalidationSetMap m_pseudoInvalidationSets; |
290 RefPtr<SiblingInvalidationSet> m_universalSiblingInvalidationSet; | 288 RefPtr<SiblingInvalidationSet> m_universalSiblingInvalidationSet; |
291 RefPtr<DescendantInvalidationSet> m_nthInvalidationSet; | 289 RefPtr<DescendantInvalidationSet> m_nthInvalidationSet; |
292 RefPtr<DescendantInvalidationSet> m_typeRuleInvalidationSet; | 290 RefPtr<DescendantInvalidationSet> m_typeRuleInvalidationSet; |
293 HeapVector<RuleFeature> m_siblingRules; | 291 HeapVector<RuleFeature> m_siblingRules; |
294 HeapVector<RuleFeature> m_uncommonAttributeRules; | 292 HeapVector<RuleFeature> m_uncommonAttributeRules; |
295 MediaQueryResultList m_viewportDependentMediaQueryResults; | 293 MediaQueryResultList m_viewportDependentMediaQueryResults; |
296 MediaQueryResultList m_deviceDependentMediaQueryResults; | 294 MediaQueryResultList m_deviceDependentMediaQueryResults; |
297 | 295 |
298 friend class RuleFeatureSetTest; | 296 friend class RuleFeatureSetTest; |
299 }; | 297 }; |
300 | 298 |
301 } // namespace blink | 299 } // namespace blink |
302 | 300 |
303 #endif // RuleFeature_h | 301 #endif // RuleFeature_h |
OLD | NEW |