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

Side by Side Diff: sky/engine/core/css/resolver/StyleResolver.h

Issue 794783003: Trim the deps of StyleResolver.h (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | sky/engine/core/css/resolver/StyleResolver.cpp » ('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 * 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 SKY_ENGINE_CORE_CSS_RESOLVER_STYLERESOLVER_H_ 22 #ifndef SKY_ENGINE_CORE_CSS_RESOLVER_STYLERESOLVER_H_
23 #define SKY_ENGINE_CORE_CSS_RESOLVER_STYLERESOLVER_H_ 23 #define SKY_ENGINE_CORE_CSS_RESOLVER_STYLERESOLVER_H_
24 24
25 #include "sky/engine/core/css/MediaQueryEvaluator.h" 25 #include "sky/engine/core/css/MediaQueryEvaluator.h"
26 #include "sky/engine/core/css/RuleSet.h"
27 #include "sky/engine/core/css/SelectorChecker.h"
28 #include "sky/engine/core/css/resolver/MatchedPropertiesCache.h" 26 #include "sky/engine/core/css/resolver/MatchedPropertiesCache.h"
29 #include "sky/engine/core/css/resolver/MediaQueryResult.h" 27 #include "sky/engine/core/css/resolver/MediaQueryResult.h"
30 #include "sky/engine/core/css/resolver/ScopedStyleResolver.h" 28 #include "sky/engine/core/css/resolver/ScopedStyleResolver.h"
31 #include "sky/engine/core/css/resolver/StyleBuilder.h"
32 #include "sky/engine/core/css/resolver/StyleResourceLoader.h" 29 #include "sky/engine/core/css/resolver/StyleResourceLoader.h"
33 #include "sky/engine/platform/heap/Handle.h" 30 #include "sky/engine/platform/heap/Handle.h"
34 #include "sky/engine/wtf/Deque.h" 31 #include "sky/engine/wtf/Deque.h"
35 #include "sky/engine/wtf/HashMap.h" 32 #include "sky/engine/wtf/HashMap.h"
36 #include "sky/engine/wtf/HashSet.h"
37 #include "sky/engine/wtf/ListHashSet.h"
38 #include "sky/engine/wtf/RefPtr.h" 33 #include "sky/engine/wtf/RefPtr.h"
39 #include "sky/engine/wtf/Vector.h" 34 #include "sky/engine/wtf/Vector.h"
40 35
41 namespace blink { 36 namespace blink {
42 37
43 class AnimatableValue; 38 class AnimatableValue;
44 class AnimationTimeline;
45 class CSSAnimationUpdate;
46 class CSSFontSelector;
47 class CSSSelector;
48 class CSSStyleSheet;
49 class CSSValue; 39 class CSSValue;
50 class ContainerNode;
51 class Document; 40 class Document;
52 class Element; 41 class Element;
53 class ElementRuleCollector; 42 class ElementRuleCollector;
54 class Interpolation; 43 class Interpolation;
55 class KeyframeList;
56 class KeyframeValue;
57 class MediaQueryEvaluator;
58 class MediaQueryResult;
59 class RuleData;
60 class Settings;
61 class StyleKeyframe; 44 class StyleKeyframe;
62 class StylePropertySet; 45 class StylePropertySet;
63 class StyleResolverStats; 46 class StyleResolverStats;
64 class StyleRule;
65 class StyleRuleKeyframes;
66
67 class MatchResult; 47 class MatchResult;
68 48
69 const unsigned styleSharingListSize = 15; 49 const unsigned styleSharingListSize = 15;
70 typedef Deque<Element*, styleSharingListSize> StyleSharingList; 50 typedef Deque<Element*, styleSharingListSize> StyleSharingList;
71 51
72 struct CSSPropertyValue { 52 struct CSSPropertyValue {
73 STACK_ALLOCATED(); 53 STACK_ALLOCATED();
74 public: 54 public:
75 CSSPropertyValue(CSSPropertyID property, CSSValue* value) 55 CSSPropertyValue(CSSPropertyID property, CSSValue* value)
76 : property(property), value(value) { } 56 : property(property), value(value) { }
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; 163 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals;
184 unsigned m_styleResolverStatsSequence; 164 unsigned m_styleResolverStatsSequence;
185 165
186 // Use only for Internals::updateStyleAndReturnAffectedElementCount. 166 // Use only for Internals::updateStyleAndReturnAffectedElementCount.
187 unsigned m_accessCount; 167 unsigned m_accessCount;
188 }; 168 };
189 169
190 } // namespace blink 170 } // namespace blink
191 171
192 #endif // SKY_ENGINE_CORE_CSS_RESOLVER_STYLERESOLVER_H_ 172 #endif // SKY_ENGINE_CORE_CSS_RESOLVER_STYLERESOLVER_H_
OLDNEW
« no previous file with comments | « no previous file | sky/engine/core/css/resolver/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698