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

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

Issue 803133002: Use invalidation sets for fullscreen pseudos. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Load fullscreen.css on demand Created 4 years, 9 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 | Annotate | Revision Log
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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 case CSSSelector::PseudoOptional: 331 case CSSSelector::PseudoOptional:
332 case CSSSelector::PseudoPlaceholderShown: 332 case CSSSelector::PseudoPlaceholderShown:
333 case CSSSelector::PseudoRequired: 333 case CSSSelector::PseudoRequired:
334 case CSSSelector::PseudoReadOnly: 334 case CSSSelector::PseudoReadOnly:
335 case CSSSelector::PseudoReadWrite: 335 case CSSSelector::PseudoReadWrite:
336 case CSSSelector::PseudoValid: 336 case CSSSelector::PseudoValid:
337 case CSSSelector::PseudoInvalid: 337 case CSSSelector::PseudoInvalid:
338 case CSSSelector::PseudoIndeterminate: 338 case CSSSelector::PseudoIndeterminate:
339 case CSSSelector::PseudoTarget: 339 case CSSSelector::PseudoTarget:
340 case CSSSelector::PseudoLang: 340 case CSSSelector::PseudoLang:
341 case CSSSelector::PseudoFullScreen:
342 case CSSSelector::PseudoFullScreenAncestor:
341 case CSSSelector::PseudoInRange: 343 case CSSSelector::PseudoInRange:
342 case CSSSelector::PseudoOutOfRange: 344 case CSSSelector::PseudoOutOfRange:
343 case CSSSelector::PseudoUnresolved: 345 case CSSSelector::PseudoUnresolved:
344 return &ensurePseudoInvalidationSet(selector.getPseudoType(), type); 346 return &ensurePseudoInvalidationSet(selector.getPseudoType(), type);
345 default: 347 default:
346 break; 348 break;
347 } 349 }
348 } 350 }
349 return nullptr; 351 return nullptr;
350 } 352 }
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
777 779
778 DEFINE_TRACE(RuleFeatureSet) 780 DEFINE_TRACE(RuleFeatureSet)
779 { 781 {
780 #if ENABLE(OILPAN) 782 #if ENABLE(OILPAN)
781 visitor->trace(siblingRules); 783 visitor->trace(siblingRules);
782 visitor->trace(uncommonAttributeRules); 784 visitor->trace(uncommonAttributeRules);
783 #endif 785 #endif
784 } 786 }
785 787
786 } // namespace blink 788 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698