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

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

Issue 17480002: Remove unused includes from core/accessibility, core/css and core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased ; update <wtf/Foo.h> to "wtf/Foo.h" in changed files Created 7 years, 6 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
« no previous file with comments | « Source/core/css/resolver/StyleResolver.h ('k') | Source/core/css/resolver/StyleResolverState.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, 2013 Apple Inc. All rights reserved. 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights 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 12 matching lines...) Expand all
23 * You should have received a copy of the GNU Library General Public License 23 * You should have received a copy of the GNU Library General Public License
24 * along with this library; see the file COPYING.LIB. If not, write to 24 * along with this library; see the file COPYING.LIB. If not, write to
25 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 25 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
26 * Boston, MA 02110-1301, USA. 26 * Boston, MA 02110-1301, USA.
27 */ 27 */
28 28
29 #include "config.h" 29 #include "config.h"
30 #include "core/css/resolver/StyleResolver.h" 30 #include "core/css/resolver/StyleResolver.h"
31 31
32 #include "CSSPropertyNames.h" 32 #include "CSSPropertyNames.h"
33 #include "FontFamilyNames.h"
34 #include "HTMLNames.h" 33 #include "HTMLNames.h"
35 #include "MathMLNames.h"
36 #include "RuntimeEnabledFeatures.h" 34 #include "RuntimeEnabledFeatures.h"
37 #include "SVGNames.h" 35 #include "SVGNames.h"
38 #include "UserAgentStyleSheets.h"
39 #include "XMLNames.h" 36 #include "XMLNames.h"
40 #include "core/animation/AnimatableValue.h" 37 #include "core/animation/AnimatableValue.h"
41 #include "core/animation/Animation.h" 38 #include "core/animation/Animation.h"
42 #include "core/css/CSSBorderImage.h"
43 #include "core/css/CSSCalculationValue.h" 39 #include "core/css/CSSCalculationValue.h"
44 #include "core/css/CSSCursorImageValue.h" 40 #include "core/css/CSSCursorImageValue.h"
45 #include "core/css/CSSDefaultStyleSheets.h" 41 #include "core/css/CSSDefaultStyleSheets.h"
46 #include "core/css/CSSFontFaceRule.h"
47 #include "core/css/CSSFontSelector.h" 42 #include "core/css/CSSFontSelector.h"
48 #include "core/css/CSSImageSetValue.h" 43 #include "core/css/CSSImageSetValue.h"
49 #include "core/css/CSSKeyframeRule.h" 44 #include "core/css/CSSKeyframeRule.h"
50 #include "core/css/CSSKeyframesRule.h" 45 #include "core/css/CSSKeyframesRule.h"
51 #include "core/css/CSSLineBoxContainValue.h" 46 #include "core/css/CSSLineBoxContainValue.h"
52 #include "core/css/CSSPageRule.h"
53 #include "core/css/CSSParser.h" 47 #include "core/css/CSSParser.h"
54 #include "core/css/CSSPrimitiveValueMappings.h" 48 #include "core/css/CSSPrimitiveValueMappings.h"
55 #include "core/css/CSSReflectValue.h" 49 #include "core/css/CSSReflectValue.h"
56 #include "core/css/CSSSVGDocumentValue.h" 50 #include "core/css/CSSSVGDocumentValue.h"
57 #include "core/css/CSSSelector.h" 51 #include "core/css/CSSSelector.h"
58 #include "core/css/CSSSelectorList.h" 52 #include "core/css/CSSSelectorList.h"
59 #include "core/css/CSSShaderValue.h" 53 #include "core/css/CSSShaderValue.h"
60 #include "core/css/CSSStyleRule.h" 54 #include "core/css/CSSStyleRule.h"
61 #include "core/css/CSSSupportsRule.h"
62 #include "core/css/CSSTimingFunctionValue.h"
63 #include "core/css/CSSValueList.h" 55 #include "core/css/CSSValueList.h"
64 #include "core/css/CSSVariableValue.h" 56 #include "core/css/CSSVariableValue.h"
65 #include "core/css/Counter.h" 57 #include "core/css/Counter.h"
66 #include "core/css/DeprecatedStyleBuilder.h" 58 #include "core/css/DeprecatedStyleBuilder.h"
67 #include "core/css/ElementRuleCollector.h" 59 #include "core/css/ElementRuleCollector.h"
68 #include "core/css/FontFeatureValue.h" 60 #include "core/css/FontFeatureValue.h"
69 #include "core/css/FontSize.h" 61 #include "core/css/FontSize.h"
70 #include "core/css/FontValue.h" 62 #include "core/css/FontValue.h"
71 #include "core/css/MediaList.h"
72 #include "core/css/MediaQueryEvaluator.h" 63 #include "core/css/MediaQueryEvaluator.h"
73 #include "core/css/PageRuleCollector.h" 64 #include "core/css/PageRuleCollector.h"
74 #include "core/css/Pair.h" 65 #include "core/css/Pair.h"
75 #include "core/css/Rect.h"
76 #include "core/css/RuleSet.h" 66 #include "core/css/RuleSet.h"
77 #include "core/css/SelectorCheckerFastPath.h"
78 #include "core/css/ShadowValue.h" 67 #include "core/css/ShadowValue.h"
79 #include "core/css/StylePropertySet.h" 68 #include "core/css/StylePropertySet.h"
80 #include "core/css/StylePropertyShorthand.h" 69 #include "core/css/StylePropertyShorthand.h"
81 #include "core/css/StyleRule.h"
82 #include "core/css/StyleRuleImport.h"
83 #include "core/css/StyleSheetContents.h" 70 #include "core/css/StyleSheetContents.h"
84 #include "core/css/StyleSheetList.h"
85 #include "core/css/resolver/FilterOperationResolver.h" 71 #include "core/css/resolver/FilterOperationResolver.h"
86 #include "core/css/resolver/StyleBuilder.h" 72 #include "core/css/resolver/StyleBuilder.h"
87 #include "core/css/resolver/TransformBuilder.h" 73 #include "core/css/resolver/TransformBuilder.h"
88 #include "core/css/resolver/ViewportStyleResolver.h" 74 #include "core/css/resolver/ViewportStyleResolver.h"
89 #include "core/dom/Attribute.h"
90 #include "core/dom/ContextFeatures.h"
91 #include "core/dom/DocumentStyleSheetCollection.h" 75 #include "core/dom/DocumentStyleSheetCollection.h"
92 #include "core/dom/FullscreenController.h" 76 #include "core/dom/FullscreenController.h"
93 #include "core/dom/NodeRenderStyle.h" 77 #include "core/dom/NodeRenderStyle.h"
94 #include "core/dom/NodeRenderingContext.h" 78 #include "core/dom/NodeRenderingContext.h"
95 #include "core/dom/Text.h" 79 #include "core/dom/Text.h"
96 #include "core/dom/VisitedLinkState.h"
97 #include "core/dom/WebCoreMemoryInstrumentation.h" 80 #include "core/dom/WebCoreMemoryInstrumentation.h"
98 #include "core/dom/shadow/ElementShadow.h"
99 #include "core/dom/shadow/InsertionPoint.h"
100 #include "core/dom/shadow/ShadowRoot.h" 81 #include "core/dom/shadow/ShadowRoot.h"
101 #include "core/editing/FrameSelection.h"
102 #include "core/html/HTMLDocument.h"
103 #include "core/html/HTMLIFrameElement.h" 82 #include "core/html/HTMLIFrameElement.h"
104 #include "core/html/HTMLInputElement.h" 83 #include "core/html/HTMLInputElement.h"
105 #include "core/html/HTMLOptionElement.h"
106 #include "core/html/HTMLProgressElement.h"
107 #include "core/html/HTMLStyleElement.h"
108 #include "core/html/HTMLTextAreaElement.h"
109 #include "core/html/track/WebVTTElement.h" 84 #include "core/html/track/WebVTTElement.h"
110 #include "core/inspector/InspectorInstrumentation.h" 85 #include "core/inspector/InspectorInstrumentation.h"
111 #include "core/loader/cache/CachedDocument.h" 86 #include "core/loader/cache/CachedDocument.h"
112 #include "core/loader/cache/CachedImage.h"
113 #include "core/loader/cache/CachedSVGDocumentReference.h" 87 #include "core/loader/cache/CachedSVGDocumentReference.h"
114 #include "core/page/Frame.h" 88 #include "core/page/Frame.h"
115 #include "core/page/FrameView.h" 89 #include "core/page/FrameView.h"
116 #include "core/page/Page.h" 90 #include "core/page/Page.h"
117 #include "core/page/Settings.h" 91 #include "core/page/Settings.h"
118 #include "core/platform/CalculationValue.h"
119 #include "core/platform/LinkHash.h" 92 #include "core/platform/LinkHash.h"
120 #include "core/platform/graphics/filters/custom/CustomFilterArrayParameter.h"
121 #include "core/platform/graphics/filters/custom/CustomFilterConstants.h" 93 #include "core/platform/graphics/filters/custom/CustomFilterConstants.h"
122 #include "core/platform/graphics/filters/custom/CustomFilterNumberParameter.h"
123 #include "core/platform/graphics/filters/custom/CustomFilterOperation.h" 94 #include "core/platform/graphics/filters/custom/CustomFilterOperation.h"
124 #include "core/platform/graphics/filters/custom/CustomFilterParameter.h"
125 #include "core/platform/graphics/filters/custom/CustomFilterProgramInfo.h"
126 #include "core/platform/graphics/filters/custom/CustomFilterTransformParameter.h "
127 #include "core/platform/text/LocaleToScriptMapping.h" 95 #include "core/platform/text/LocaleToScriptMapping.h"
128 #include "core/rendering/RenderRegion.h"
129 #include "core/rendering/RenderScrollbar.h"
130 #include "core/rendering/RenderScrollbarTheme.h"
131 #include "core/rendering/RenderTheme.h" 96 #include "core/rendering/RenderTheme.h"
132 #include "core/rendering/RenderView.h" 97 #include "core/rendering/RenderView.h"
133 #include "core/rendering/style/ContentData.h" 98 #include "core/rendering/style/ContentData.h"
134 #include "core/rendering/style/CounterContent.h" 99 #include "core/rendering/style/CounterContent.h"
135 #include "core/rendering/style/CursorList.h" 100 #include "core/rendering/style/CursorList.h"
136 #include "core/rendering/style/KeyframeList.h" 101 #include "core/rendering/style/KeyframeList.h"
137 #include "core/rendering/style/QuotesData.h" 102 #include "core/rendering/style/QuotesData.h"
138 #include "core/rendering/style/RenderStyleConstants.h" 103 #include "core/rendering/style/RenderStyleConstants.h"
139 #include "core/rendering/style/ShadowData.h" 104 #include "core/rendering/style/ShadowData.h"
140 #include "core/rendering/style/StyleCachedImage.h" 105 #include "core/rendering/style/StyleCachedImage.h"
141 #include "core/rendering/style/StyleCachedImageSet.h" 106 #include "core/rendering/style/StyleCachedImageSet.h"
142 #include "core/rendering/style/StyleCachedShader.h" 107 #include "core/rendering/style/StyleCachedShader.h"
143 #include "core/rendering/style/StyleCustomFilterProgram.h" 108 #include "core/rendering/style/StyleCustomFilterProgram.h"
144 #include "core/rendering/style/StyleCustomFilterProgramCache.h" 109 #include "core/rendering/style/StyleCustomFilterProgramCache.h"
145 #include "core/rendering/style/StyleGeneratedImage.h" 110 #include "core/rendering/style/StyleGeneratedImage.h"
146 #include "core/rendering/style/StylePendingImage.h" 111 #include "core/rendering/style/StylePendingImage.h"
147 #include "core/rendering/style/StylePendingShader.h" 112 #include "core/rendering/style/StylePendingShader.h"
148 #include "core/rendering/style/StyleShader.h" 113 #include "core/rendering/style/StyleShader.h"
149 #include "core/svg/SVGDocument.h"
150 #include "core/svg/SVGDocumentExtensions.h" 114 #include "core/svg/SVGDocumentExtensions.h"
151 #include "core/svg/SVGElement.h" 115 #include "core/svg/SVGElement.h"
152 #include "core/svg/SVGFontFaceElement.h" 116 #include "core/svg/SVGFontFaceElement.h"
153 #include "core/svg/SVGURIReference.h"
154 #include "weborigin/SecurityOrigin.h"
155 #include "wtf/MemoryInstrumentationHashMap.h" 117 #include "wtf/MemoryInstrumentationHashMap.h"
156 #include "wtf/MemoryInstrumentationHashSet.h"
157 #include "wtf/MemoryInstrumentationVector.h" 118 #include "wtf/MemoryInstrumentationVector.h"
158 #include "wtf/StdLibExtras.h" 119 #include "wtf/StdLibExtras.h"
159 #include "wtf/Vector.h" 120 #include "wtf/Vector.h"
160 121
161 using namespace std; 122 using namespace std;
162 123
163 namespace WTF { 124 namespace WTF {
164 125
165 template<> struct SequenceMemoryInstrumentationTraits<const WebCore::RuleData*> { 126 template<> struct SequenceMemoryInstrumentationTraits<const WebCore::RuleData*> {
166 template <typename I> static void reportMemoryUsage(I, I, MemoryClassInfo&) { } 127 template <typename I> static void reportMemoryUsage(I, I, MemoryClassInfo&) { }
(...skipping 3558 matching lines...) Expand 10 before | Expand all | Expand 10 after
3725 info.addMember(m_state, "state"); 3686 info.addMember(m_state, "state");
3726 3687
3727 // FIXME: move this to a place where it would be called only once? 3688 // FIXME: move this to a place where it would be called only once?
3728 info.addMember(CSSDefaultStyleSheets::defaultStyle, "defaultStyle"); 3689 info.addMember(CSSDefaultStyleSheets::defaultStyle, "defaultStyle");
3729 info.addMember(CSSDefaultStyleSheets::defaultQuirksStyle, "defaultQuirksStyl e"); 3690 info.addMember(CSSDefaultStyleSheets::defaultQuirksStyle, "defaultQuirksStyl e");
3730 info.addMember(CSSDefaultStyleSheets::defaultPrintStyle, "defaultPrintStyle" ); 3691 info.addMember(CSSDefaultStyleSheets::defaultPrintStyle, "defaultPrintStyle" );
3731 info.addMember(CSSDefaultStyleSheets::defaultViewSourceStyle, "defaultViewSo urceStyle"); 3692 info.addMember(CSSDefaultStyleSheets::defaultViewSourceStyle, "defaultViewSo urceStyle");
3732 } 3693 }
3733 3694
3734 } // namespace WebCore 3695 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/resolver/StyleResolver.h ('k') | Source/core/css/resolver/StyleResolverState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698