Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: third_party/WebKit/Source/core/css/RuleFeature.h

Issue 2700943003: Invalidate custom pseudo elements for RuleSet invalidations. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 updateRuleSetInvalidation(const InvalidationSetFeatures&); 283 void updateRuleSetInvalidation(const InvalidationSetFeatures&);
284 void addTagNamesToTypeRuleInvalidationSet(const Vector<AtomicString>&);
285 284
286 FeatureMetadata m_metadata; 285 FeatureMetadata m_metadata;
287 InvalidationSetMap m_classInvalidationSets; 286 InvalidationSetMap m_classInvalidationSets;
288 InvalidationSetMap m_attributeInvalidationSets; 287 InvalidationSetMap m_attributeInvalidationSets;
289 InvalidationSetMap m_idInvalidationSets; 288 InvalidationSetMap m_idInvalidationSets;
290 PseudoTypeInvalidationSetMap m_pseudoInvalidationSets; 289 PseudoTypeInvalidationSetMap m_pseudoInvalidationSets;
291 RefPtr<SiblingInvalidationSet> m_universalSiblingInvalidationSet; 290 RefPtr<SiblingInvalidationSet> m_universalSiblingInvalidationSet;
292 RefPtr<DescendantInvalidationSet> m_nthInvalidationSet; 291 RefPtr<DescendantInvalidationSet> m_nthInvalidationSet;
293 RefPtr<DescendantInvalidationSet> m_typeRuleInvalidationSet; 292 RefPtr<DescendantInvalidationSet> m_typeRuleInvalidationSet;
294 HeapVector<RuleFeature> m_siblingRules; 293 HeapVector<RuleFeature> m_siblingRules;
295 HeapVector<RuleFeature> m_uncommonAttributeRules; 294 HeapVector<RuleFeature> m_uncommonAttributeRules;
296 MediaQueryResultList m_viewportDependentMediaQueryResults; 295 MediaQueryResultList m_viewportDependentMediaQueryResults;
297 MediaQueryResultList m_deviceDependentMediaQueryResults; 296 MediaQueryResultList m_deviceDependentMediaQueryResults;
298 297
299 friend class RuleFeatureSetTest; 298 friend class RuleFeatureSetTest;
300 }; 299 };
301 300
302 } // namespace blink 301 } // namespace blink
303 302
304 #endif // RuleFeature_h 303 #endif // RuleFeature_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698