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

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

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
« 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 11 matching lines...) Expand all
22 * 22 *
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 // FIXME: This include list is way more than we need!
33 #include "CSSPropertyNames.h" 32 #include "CSSPropertyNames.h"
34 #include "HTMLNames.h" 33 #include "HTMLNames.h"
35 #include "RuntimeEnabledFeatures.h" 34 #include "RuntimeEnabledFeatures.h"
36 #include "SVGNames.h"
37 #include "XMLNames.h"
38 #include "core/animation/AnimatableValue.h" 35 #include "core/animation/AnimatableValue.h"
39 #include "core/animation/Animation.h" 36 #include "core/animation/Animation.h"
40 #include "core/css/CSSCalculationValue.h" 37 #include "core/css/CSSCalculationValue.h"
41 #include "core/css/CSSCursorImageValue.h"
42 #include "core/css/CSSDefaultStyleSheets.h" 38 #include "core/css/CSSDefaultStyleSheets.h"
43 #include "core/css/CSSFontSelector.h" 39 #include "core/css/CSSFontSelector.h"
44 #include "core/css/CSSImageSetValue.h"
45 #include "core/css/CSSKeyframeRule.h" 40 #include "core/css/CSSKeyframeRule.h"
46 #include "core/css/CSSKeyframesRule.h" 41 #include "core/css/CSSKeyframesRule.h"
47 #include "core/css/CSSLineBoxContainValue.h"
48 #include "core/css/CSSParser.h" 42 #include "core/css/CSSParser.h"
49 #include "core/css/CSSPrimitiveValueMappings.h"
50 #include "core/css/CSSReflectValue.h" 43 #include "core/css/CSSReflectValue.h"
51 #include "core/css/CSSSVGDocumentValue.h" 44 #include "core/css/CSSRuleList.h"
52 #include "core/css/CSSSelector.h" 45 #include "core/css/CSSSelector.h"
53 #include "core/css/CSSSelectorList.h"
54 #include "core/css/CSSStyleRule.h" 46 #include "core/css/CSSStyleRule.h"
55 #include "core/css/CSSValueList.h" 47 #include "core/css/CSSValueList.h"
56 #include "core/css/CSSVariableValue.h" 48 #include "core/css/CSSVariableValue.h"
57 #include "core/css/ElementRuleCollector.h" 49 #include "core/css/ElementRuleCollector.h"
58 #include "core/css/FontFeatureValue.h"
59 #include "core/css/FontSize.h"
60 #include "core/css/MediaQueryEvaluator.h" 50 #include "core/css/MediaQueryEvaluator.h"
61 #include "core/css/PageRuleCollector.h" 51 #include "core/css/PageRuleCollector.h"
62 #include "core/css/Pair.h"
63 #include "core/css/RuleSet.h" 52 #include "core/css/RuleSet.h"
64 #include "core/css/StylePropertySet.h" 53 #include "core/css/StylePropertySet.h"
65 #include "core/css/StylePropertyShorthand.h" 54 #include "core/css/StylePropertyShorthand.h"
66 #include "core/css/StyleSheetContents.h"
67 #include "core/css/resolver/ElementStyleResources.h"
68 #include "core/css/resolver/FilterOperationResolver.h"
69 #include "core/css/resolver/MatchResult.h" 55 #include "core/css/resolver/MatchResult.h"
70 #include "core/css/resolver/MediaQueryResult.h" 56 #include "core/css/resolver/MediaQueryResult.h"
71 #include "core/css/resolver/SharedStyleFinder.h" 57 #include "core/css/resolver/SharedStyleFinder.h"
72 #include "core/css/resolver/StyleAdjuster.h" 58 #include "core/css/resolver/StyleAdjuster.h"
73 #include "core/css/resolver/StyleBuilder.h" 59 #include "core/css/resolver/StyleBuilder.h"
74 #include "core/css/resolver/ViewportStyleResolver.h" 60 #include "core/css/resolver/ViewportStyleResolver.h"
75 #include "core/dom/DocumentStyleSheetCollection.h" 61 #include "core/dom/DocumentStyleSheetCollection.h"
76 #include "core/dom/FullscreenController.h"
77 #include "core/dom/NodeRenderStyle.h" 62 #include "core/dom/NodeRenderStyle.h"
78 #include "core/dom/NodeRenderingContext.h" 63 #include "core/dom/NodeRenderingContext.h"
79 #include "core/dom/Text.h" 64 #include "core/dom/Text.h"
80 #include "core/dom/shadow/ShadowRoot.h" 65 #include "core/dom/shadow/ShadowRoot.h"
81 #include "core/html/HTMLHtmlElement.h"
82 #include "core/html/HTMLIFrameElement.h" 66 #include "core/html/HTMLIFrameElement.h"
83 #include "core/inspector/InspectorInstrumentation.h" 67 #include "core/inspector/InspectorInstrumentation.h"
84 #include "core/loader/cache/CachedDocument.h"
85 #include "core/loader/cache/CachedSVGDocumentReference.h"
86 #include "core/page/Frame.h" 68 #include "core/page/Frame.h"
87 #include "core/page/FrameView.h" 69 #include "core/page/FrameView.h"
88 #include "core/page/Page.h"
89 #include "core/page/Settings.h"
90 #include "core/platform/graphics/filters/custom/CustomFilterConstants.h"
91 #include "core/platform/text/LocaleToScriptMapping.h"
92 #include "core/rendering/RenderView.h" 70 #include "core/rendering/RenderView.h"
93 #include "core/rendering/style/KeyframeList.h" 71 #include "core/rendering/style/KeyframeList.h"
94 #include "core/rendering/style/StyleCustomFilterProgramCache.h" 72 #include "core/rendering/style/StyleCustomFilterProgramCache.h"
95 #include "core/svg/SVGDocumentExtensions.h" 73 #include "core/svg/SVGDocumentExtensions.h"
96 #include "core/svg/SVGElement.h" 74 #include "core/svg/SVGElement.h"
97 #include "core/svg/SVGFontFaceElement.h" 75 #include "core/svg/SVGFontFaceElement.h"
98 #include "wtf/StdLibExtras.h" 76 #include "wtf/StdLibExtras.h"
99 #include "wtf/Vector.h" 77 #include "wtf/Vector.h"
100 78
101 using namespace std; 79 using namespace std;
(...skipping 1373 matching lines...) Expand 10 before | Expand all | Expand 10 after
1475 { 1453 {
1476 unsigned s = m_viewportDependentMediaQueryResults.size(); 1454 unsigned s = m_viewportDependentMediaQueryResults.size();
1477 for (unsigned i = 0; i < s; i++) { 1455 for (unsigned i = 0; i < s; i++) {
1478 if (m_medium->eval(&m_viewportDependentMediaQueryResults[i]->m_expressio n) != m_viewportDependentMediaQueryResults[i]->m_result) 1456 if (m_medium->eval(&m_viewportDependentMediaQueryResults[i]->m_expressio n) != m_viewportDependentMediaQueryResults[i]->m_result)
1479 return true; 1457 return true;
1480 } 1458 }
1481 return false; 1459 return false;
1482 } 1460 }
1483 1461
1484 } // namespace WebCore 1462 } // 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