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

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

Issue 1459553002: Use invalidation sets for :-webkit-drag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com)
4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com)
5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All r ights reserved. 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All r ights reserved.
6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org>
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 if (selector.match() == CSSSelector::Id) 281 if (selector.match() == CSSSelector::Id)
282 return &ensureIdInvalidationSet(selector.value(), type); 282 return &ensureIdInvalidationSet(selector.value(), type);
283 if (selector.match() == CSSSelector::PseudoClass) { 283 if (selector.match() == CSSSelector::PseudoClass) {
284 switch (selector.pseudoType()) { 284 switch (selector.pseudoType()) {
285 case CSSSelector::PseudoEmpty: 285 case CSSSelector::PseudoEmpty:
286 case CSSSelector::PseudoLink: 286 case CSSSelector::PseudoLink:
287 case CSSSelector::PseudoVisited: 287 case CSSSelector::PseudoVisited:
288 case CSSSelector::PseudoAnyLink: 288 case CSSSelector::PseudoAnyLink:
289 case CSSSelector::PseudoAutofill: 289 case CSSSelector::PseudoAutofill:
290 case CSSSelector::PseudoHover: 290 case CSSSelector::PseudoHover:
291 case CSSSelector::PseudoDrag:
291 case CSSSelector::PseudoFocus: 292 case CSSSelector::PseudoFocus:
292 case CSSSelector::PseudoActive: 293 case CSSSelector::PseudoActive:
293 case CSSSelector::PseudoChecked: 294 case CSSSelector::PseudoChecked:
294 case CSSSelector::PseudoEnabled: 295 case CSSSelector::PseudoEnabled:
295 case CSSSelector::PseudoDisabled: 296 case CSSSelector::PseudoDisabled:
296 case CSSSelector::PseudoOptional: 297 case CSSSelector::PseudoOptional:
297 case CSSSelector::PseudoPlaceholderShown: 298 case CSSSelector::PseudoPlaceholderShown:
298 case CSSSelector::PseudoRequired: 299 case CSSSelector::PseudoRequired:
299 case CSSSelector::PseudoValid: 300 case CSSSelector::PseudoValid:
300 case CSSSelector::PseudoInvalid: 301 case CSSSelector::PseudoInvalid:
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 657
657 DEFINE_TRACE(RuleFeatureSet) 658 DEFINE_TRACE(RuleFeatureSet)
658 { 659 {
659 #if ENABLE(OILPAN) 660 #if ENABLE(OILPAN)
660 visitor->trace(siblingRules); 661 visitor->trace(siblingRules);
661 visitor->trace(uncommonAttributeRules); 662 visitor->trace(uncommonAttributeRules);
662 #endif 663 #endif
663 } 664 }
664 665
665 } // namespace blink 666 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/DragUpdateTest.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698