| 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, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
| 14 * | 14 * |
| 15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
| 16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
| 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
| 19 * | 19 * |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 #ifndef StyleResolver_h | 22 #ifndef StyleResolver_h |
| 23 #define StyleResolver_h | 23 #define StyleResolver_h |
| 24 | 24 |
| 25 #include "RuntimeEnabledFeatures.h" | 25 #include "RuntimeEnabledFeatures.h" |
| 26 #include "core/css/CSSRuleList.h" | 26 #include "core/css/CSSRuleList.h" |
| 27 #include "core/css/CSSSVGDocumentValue.h" | |
| 28 #include "core/css/CSSToStyleMap.h" | 27 #include "core/css/CSSToStyleMap.h" |
| 29 #include "core/css/CSSValueList.h" | |
| 30 #include "core/css/DocumentRuleSets.h" | 28 #include "core/css/DocumentRuleSets.h" |
| 31 #include "core/css/InspectorCSSOMWrappers.h" | 29 #include "core/css/InspectorCSSOMWrappers.h" |
| 32 #include "core/css/MediaQueryExp.h" | 30 #include "core/css/MediaQueryExp.h" |
| 33 #include "core/css/PseudoStyleRequest.h" | 31 #include "core/css/PseudoStyleRequest.h" |
| 34 #include "core/css/RuleFeature.h" | 32 #include "core/css/RuleFeature.h" |
| 35 #include "core/css/RuleSet.h" | 33 #include "core/css/RuleSet.h" |
| 36 #include "core/css/SelectorChecker.h" | 34 #include "core/css/SelectorChecker.h" |
| 37 #include "core/css/SelectorFilter.h" | 35 #include "core/css/SelectorFilter.h" |
| 38 #include "core/css/SiblingTraversalStrategies.h" | 36 #include "core/css/SiblingTraversalStrategies.h" |
| 39 #include "core/css/resolver/ScopedStyleResolver.h" | 37 #include "core/css/resolver/ScopedStyleResolver.h" |
| 40 #include "core/css/resolver/StyleResolverState.h" | 38 #include "core/css/resolver/StyleResolverState.h" |
| 41 #include "core/css/resolver/ViewportStyleResolver.h" | 39 #include "core/css/resolver/ViewportStyleResolver.h" |
| 42 #include "core/platform/LinkHash.h" | |
| 43 #include "core/platform/ScrollTypes.h" | |
| 44 #include "core/platform/graphics/filters/custom/CustomFilterConstants.h" | |
| 45 #include "core/rendering/style/RenderStyle.h" | 40 #include "core/rendering/style/RenderStyle.h" |
| 46 #include "wtf/HashMap.h" | 41 #include "wtf/HashMap.h" |
| 47 #include "wtf/HashSet.h" | 42 #include "wtf/HashSet.h" |
| 48 #include "wtf/RefPtr.h" | 43 #include "wtf/RefPtr.h" |
| 49 #include "wtf/Vector.h" | 44 #include "wtf/Vector.h" |
| 50 #include "wtf/text/AtomicStringHash.h" | |
| 51 #include "wtf/text/StringHash.h" | |
| 52 | 45 |
| 53 namespace WebCore { | 46 namespace WebCore { |
| 54 | 47 |
| 55 class CSSCursorImageValue; | 48 class CSSCursorImageValue; |
| 56 class CSSFontSelector; | 49 class CSSFontSelector; |
| 57 class CSSImageGeneratorValue; | 50 class CSSImageGeneratorValue; |
| 58 class CSSImageSetValue; | 51 class CSSImageSetValue; |
| 59 class CSSImageValue; | 52 class CSSImageValue; |
| 60 class CSSPageRule; | 53 class CSSPageRule; |
| 61 class CSSPrimitiveValue; | 54 class CSSPrimitiveValue; |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 PseudoId ignoreDynamicPseudo = NOPSEUDO; | 471 PseudoId ignoreDynamicPseudo = NOPSEUDO; |
| 479 if (selectorChecker.match(selectorCheckingContext, ignoreDynamicPseudo,
DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches) | 472 if (selectorChecker.match(selectorCheckingContext, ignoreDynamicPseudo,
DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches) |
| 480 return true; | 473 return true; |
| 481 } | 474 } |
| 482 return false; | 475 return false; |
| 483 } | 476 } |
| 484 | 477 |
| 485 } // namespace WebCore | 478 } // namespace WebCore |
| 486 | 479 |
| 487 #endif // StyleResolver_h | 480 #endif // StyleResolver_h |
| OLD | NEW |