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

Side by Side Diff: Source/core/css/resolver/StyleResolver.h

Issue 15072003: Move StyleResolver and related classes to core/css/resolver (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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 * 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 "core/css/CSSRuleList.h" 26 #include "core/css/CSSRuleList.h"
26 #include "core/css/CSSToStyleMap.h" 27 #include "core/css/CSSToStyleMap.h"
27 #include "core/css/CSSValueList.h" 28 #include "core/css/CSSValueList.h"
28 #include "core/css/DocumentRuleSets.h" 29 #include "core/css/DocumentRuleSets.h"
29 #include "core/css/InspectorCSSOMWrappers.h" 30 #include "core/css/InspectorCSSOMWrappers.h"
30 #include "core/css/MediaQueryExp.h" 31 #include "core/css/MediaQueryExp.h"
31 #include "core/css/RuleFeature.h" 32 #include "core/css/RuleFeature.h"
32 #include "core/css/RuleSet.h" 33 #include "core/css/RuleSet.h"
33 #include "core/css/ScopedStyleResolver.h"
34 #include "core/css/SelectorChecker.h" 34 #include "core/css/SelectorChecker.h"
35 #include "core/css/SelectorFilter.h" 35 #include "core/css/SelectorFilter.h"
36 #include "core/css/SiblingTraversalStrategies.h" 36 #include "core/css/SiblingTraversalStrategies.h"
37 #include "core/css/StyleResolverState.h"
38 #include "core/css/ViewportStyleResolver.h"
39 #include "RuntimeEnabledFeatures.h"
40 #include "core/platform/LinkHash.h"
41 #include "core/platform/ScrollTypes.h"
42 #include "core/rendering/style/RenderStyle.h"
43 #if ENABLE(SVG) 37 #if ENABLE(SVG)
44 #include "core/css/WebKitCSSSVGDocumentValue.h" 38 #include "core/css/WebKitCSSSVGDocumentValue.h"
45 #endif 39 #endif
40 #include "core/css/resolver/ScopedStyleResolver.h"
41 #include "core/css/resolver/StyleResolverState.h"
42 #include "core/css/resolver/ViewportStyleResolver.h"
43 #include "core/platform/LinkHash.h"
44 #include "core/platform/ScrollTypes.h"
46 #include "core/platform/graphics/filters/custom/CustomFilterConstants.h" 45 #include "core/platform/graphics/filters/custom/CustomFilterConstants.h"
47 #include <wtf/HashMap.h> 46 #include "core/rendering/style/RenderStyle.h"
48 #include <wtf/HashSet.h> 47 #include "wtf/HashMap.h"
49 #include <wtf/RefPtr.h> 48 #include "wtf/HashSet.h"
50 #include <wtf/text/AtomicStringHash.h> 49 #include "wtf/RefPtr.h"
51 #include <wtf/text/StringHash.h> 50 #include "wtf/Vector.h"
52 #include <wtf/Vector.h> 51 #include "wtf/text/AtomicStringHash.h"
52 #include "wtf/text/StringHash.h"
53 53
54 namespace WebCore { 54 namespace WebCore {
55 55
56 enum ESmartMinimumForFontSize { DoNotUseSmartMinimumForFontSize, UseSmartMinimum ForFontFize }; 56 enum ESmartMinimumForFontSize { DoNotUseSmartMinimumForFontSize, UseSmartMinimum ForFontFize };
57 57
58 class CSSCursorImageValue; 58 class CSSCursorImageValue;
59 class CSSFontSelector; 59 class CSSFontSelector;
60 class CSSFontFace; 60 class CSSFontFace;
61 class CSSFontFaceRule; 61 class CSSFontFaceRule;
62 class CSSImageGeneratorValue; 62 class CSSImageGeneratorValue;
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 PseudoId ignoreDynamicPseudo = NOPSEUDO; 525 PseudoId ignoreDynamicPseudo = NOPSEUDO;
526 if (selectorChecker.match(selectorCheckingContext, ignoreDynamicPseudo, DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches) 526 if (selectorChecker.match(selectorCheckingContext, ignoreDynamicPseudo, DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches)
527 return true; 527 return true;
528 } 528 }
529 return false; 529 return false;
530 } 530 }
531 531
532 } // namespace WebCore 532 } // namespace WebCore
533 533
534 #endif // StyleResolver_h 534 #endif // StyleResolver_h
OLDNEW
« no previous file with comments | « Source/core/css/resolver/ScopedStyleResolver.cpp ('k') | Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698