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

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

Issue 64643009: Remove duplicated headers from core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years 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 * (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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #include "core/css/CSSParser.h" 48 #include "core/css/CSSParser.h"
49 #include "core/css/CSSReflectValue.h" 49 #include "core/css/CSSReflectValue.h"
50 #include "core/css/CSSRuleList.h" 50 #include "core/css/CSSRuleList.h"
51 #include "core/css/CSSSelector.h" 51 #include "core/css/CSSSelector.h"
52 #include "core/css/CSSStyleRule.h" 52 #include "core/css/CSSStyleRule.h"
53 #include "core/css/CSSValueList.h" 53 #include "core/css/CSSValueList.h"
54 #include "core/css/CSSVariableValue.h" 54 #include "core/css/CSSVariableValue.h"
55 #include "core/css/ElementRuleCollector.h" 55 #include "core/css/ElementRuleCollector.h"
56 #include "core/css/MediaQueryEvaluator.h" 56 #include "core/css/MediaQueryEvaluator.h"
57 #include "core/css/PageRuleCollector.h" 57 #include "core/css/PageRuleCollector.h"
58 #include "core/css/RuleSet.h"
59 #include "core/css/StylePropertySet.h" 58 #include "core/css/StylePropertySet.h"
60 #include "core/css/StyleRuleImport.h" 59 #include "core/css/StyleRuleImport.h"
61 #include "core/css/StyleSheetContents.h" 60 #include "core/css/StyleSheetContents.h"
62 #include "core/css/resolver/AnimatedStyleBuilder.h" 61 #include "core/css/resolver/AnimatedStyleBuilder.h"
63 #include "core/css/resolver/MatchResult.h" 62 #include "core/css/resolver/MatchResult.h"
64 #include "core/css/resolver/MediaQueryResult.h" 63 #include "core/css/resolver/MediaQueryResult.h"
65 #include "core/css/resolver/SharedStyleFinder.h" 64 #include "core/css/resolver/SharedStyleFinder.h"
66 #include "core/css/resolver/StyleAdjuster.h" 65 #include "core/css/resolver/StyleAdjuster.h"
67 #include "core/css/resolver/StyleBuilder.h"
68 #include "core/css/resolver/StyleResolverStats.h" 66 #include "core/css/resolver/StyleResolverStats.h"
69 #include "core/css/resolver/ViewportStyleResolver.h" 67 #include "core/css/resolver/ViewportStyleResolver.h"
70 #include "core/dom/CSSSelectorWatch.h" 68 #include "core/dom/CSSSelectorWatch.h"
71 #include "core/dom/NodeRenderStyle.h" 69 #include "core/dom/NodeRenderStyle.h"
72 #include "core/dom/StyleEngine.h" 70 #include "core/dom/StyleEngine.h"
73 #include "core/dom/Text.h" 71 #include "core/dom/Text.h"
74 #include "core/dom/shadow/ElementShadow.h" 72 #include "core/dom/shadow/ElementShadow.h"
75 #include "core/dom/shadow/ShadowRoot.h" 73 #include "core/dom/shadow/ShadowRoot.h"
76 #include "core/html/HTMLIFrameElement.h" 74 #include "core/html/HTMLIFrameElement.h"
77 #include "core/inspector/InspectorInstrumentation.h" 75 #include "core/inspector/InspectorInstrumentation.h"
78 #include "core/frame/Frame.h" 76 #include "core/frame/Frame.h"
79 #include "core/frame/FrameView.h" 77 #include "core/frame/FrameView.h"
80 #include "core/rendering/RenderView.h" 78 #include "core/rendering/RenderView.h"
81 #include "core/rendering/style/KeyframeList.h" 79 #include "core/rendering/style/KeyframeList.h"
82 #include "core/rendering/style/StyleCustomFilterProgramCache.h" 80 #include "core/rendering/style/StyleCustomFilterProgramCache.h"
83 #include "core/svg/SVGDocumentExtensions.h" 81 #include "core/svg/SVGDocumentExtensions.h"
84 #include "core/svg/SVGElement.h" 82 #include "core/svg/SVGElement.h"
85 #include "core/svg/SVGFontFaceElement.h" 83 #include "core/svg/SVGFontFaceElement.h"
86 #include "wtf/StdLibExtras.h" 84 #include "wtf/StdLibExtras.h"
87 #include "wtf/Vector.h"
88 85
89 using namespace std; 86 using namespace std;
90 87
91 namespace { 88 namespace {
92 89
93 using namespace WebCore; 90 using namespace WebCore;
94 91
95 void setAnimationUpdateIfNeeded(StyleResolverState& state, Element& element) 92 void setAnimationUpdateIfNeeded(StyleResolverState& state, Element& element)
96 { 93 {
97 // If any changes to CSS Animations were detected, stash the update away for application after the 94 // If any changes to CSS Animations were detected, stash the update away for application after the
(...skipping 1338 matching lines...) Expand 10 before | Expand all | Expand 10 after
1436 bool StyleResolver::affectedByViewportChange() const 1433 bool StyleResolver::affectedByViewportChange() const
1437 { 1434 {
1438 for (unsigned i = 0; i < m_viewportDependentMediaQueryResults.size(); ++i) { 1435 for (unsigned i = 0; i < m_viewportDependentMediaQueryResults.size(); ++i) {
1439 if (m_medium->eval(&m_viewportDependentMediaQueryResults[i]->m_expressio n) != m_viewportDependentMediaQueryResults[i]->m_result) 1436 if (m_medium->eval(&m_viewportDependentMediaQueryResults[i]->m_expressio n) != m_viewportDependentMediaQueryResults[i]->m_result)
1440 return true; 1437 return true;
1441 } 1438 }
1442 return false; 1439 return false;
1443 } 1440 }
1444 1441
1445 } // namespace WebCore 1442 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/resolver/StyleBuilderCustom.cpp ('k') | Source/core/css/resolver/StyleResolverState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698