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

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

Issue 19591002: Minor cleanups to includes and fwd decls in core/css/resolver (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased Created 7 years, 5 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. 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"
26 #include "core/css/CSSRuleList.h"
27 #include "core/css/CSSToStyleMap.h"
28 #include "core/css/DocumentRuleSets.h" 25 #include "core/css/DocumentRuleSets.h"
29 #include "core/css/InspectorCSSOMWrappers.h" 26 #include "core/css/InspectorCSSOMWrappers.h"
30 #include "core/css/PseudoStyleRequest.h" 27 #include "core/css/PseudoStyleRequest.h"
31 #include "core/css/RuleFeature.h" 28 #include "core/css/RuleFeature.h"
32 #include "core/css/RuleSet.h" 29 #include "core/css/RuleSet.h"
33 #include "core/css/SelectorChecker.h" 30 #include "core/css/SelectorChecker.h"
34 #include "core/css/SelectorFilter.h" 31 #include "core/css/SelectorFilter.h"
35 #include "core/css/SiblingTraversalStrategies.h" 32 #include "core/css/SiblingTraversalStrategies.h"
36 #include "core/css/resolver/MatchedPropertiesCache.h" 33 #include "core/css/resolver/MatchedPropertiesCache.h"
37 #include "core/css/resolver/ScopedStyleResolver.h" 34 #include "core/css/resolver/ScopedStyleResolver.h"
38 #include "core/css/resolver/StyleBuilder.h" 35 #include "core/css/resolver/StyleBuilder.h"
39 #include "core/css/resolver/StyleResolverState.h" 36 #include "core/css/resolver/StyleResolverState.h"
40 #include "core/css/resolver/StyleResourceLoader.h" 37 #include "core/css/resolver/StyleResourceLoader.h"
41 #include "core/css/resolver/ViewportStyleResolver.h"
42 #include "core/rendering/style/RenderStyle.h"
43 #include "wtf/HashMap.h" 38 #include "wtf/HashMap.h"
44 #include "wtf/HashSet.h" 39 #include "wtf/HashSet.h"
45 #include "wtf/RefPtr.h" 40 #include "wtf/RefPtr.h"
46 #include "wtf/Vector.h" 41 #include "wtf/Vector.h"
47 42
48 namespace WebCore { 43 namespace WebCore {
49 44
50 class CSSCursorImageValue;
51 class CSSFontSelector; 45 class CSSFontSelector;
52 class CSSImageGeneratorValue;
53 class CSSImageSetValue;
54 class CSSImageValue;
55 class CSSPageRule;
56 class CSSPrimitiveValue;
57 class CSSProperty;
58 class CSSRuleList; 46 class CSSRuleList;
59 class CSSSelector; 47 class CSSSelector;
60 class CSSStyleSheet; 48 class CSSStyleSheet;
61 class CSSValue; 49 class CSSValue;
62 class ContainerNode; 50 class ContainerNode;
63 class Document; 51 class Document;
64 class Element; 52 class Element;
65 class ElementRuleCollector; 53 class ElementRuleCollector;
66 class Frame;
67 class FrameView;
68 class KeyframeList; 54 class KeyframeList;
69 class KeyframeValue; 55 class KeyframeValue;
70 class MediaQueryEvaluator; 56 class MediaQueryEvaluator;
71 class MediaQueryExp; 57 class MediaQueryExp;
72 class MediaQueryResult; 58 class MediaQueryResult;
73 class Node;
74 class RenderRegion; 59 class RenderRegion;
75 class RuleData; 60 class RuleData;
76 class RuleSet;
77 class Settings; 61 class Settings;
78 class StyleImage;
79 class StyleKeyframe; 62 class StyleKeyframe;
80 class StylePendingImage;
81 class StylePropertySet; 63 class StylePropertySet;
82 class StyleRule; 64 class StyleRule;
83 class StyleRuleHost;
84 class StyleRuleKeyframes; 65 class StyleRuleKeyframes;
85 class StyleRulePage; 66 class StyleRulePage;
86 class StyleRuleRegion; 67 class ViewportStyleResolver;
87 class StyleShader;
88 class StyleSheet;
89 class StyleSheetList;
90 68
91 struct MatchResult; 69 struct MatchResult;
92 70
93 enum StyleSharingBehavior { 71 enum StyleSharingBehavior {
94 AllowStyleSharing, 72 AllowStyleSharing,
95 DisallowStyleSharing, 73 DisallowStyleSharing,
96 }; 74 };
97 75
98 // MatchOnlyUserAgentRules is used in media queries, where relative units 76 // MatchOnlyUserAgentRules is used in media queries, where relative units
99 // are interpreted according to the document root element style, and styled only 77 // are interpreted according to the document root element style, and styled only
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 PseudoId ignoreDynamicPseudo = NOPSEUDO; 319 PseudoId ignoreDynamicPseudo = NOPSEUDO;
342 if (selectorChecker.match(selectorCheckingContext, ignoreDynamicPseudo, DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches) 320 if (selectorChecker.match(selectorCheckingContext, ignoreDynamicPseudo, DOMSiblingTraversalStrategy()) == SelectorChecker::SelectorMatches)
343 return true; 321 return true;
344 } 322 }
345 return false; 323 return false;
346 } 324 }
347 325
348 } // namespace WebCore 326 } // namespace WebCore
349 327
350 #endif // StyleResolver_h 328 #endif // StyleResolver_h
OLDNEW
« no previous file with comments | « Source/core/css/resolver/StyleBuilderCustom.cpp ('k') | Source/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698