OLD | NEW |
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, |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "core/css/CSSToLengthConversionData.h" | 29 #include "core/css/CSSToLengthConversionData.h" |
30 #include "core/css/resolver/CSSToStyleMap.h" | 30 #include "core/css/resolver/CSSToStyleMap.h" |
31 #include "core/css/resolver/ElementResolveContext.h" | 31 #include "core/css/resolver/ElementResolveContext.h" |
32 #include "core/css/resolver/ElementStyleResources.h" | 32 #include "core/css/resolver/ElementStyleResources.h" |
33 #include "core/css/resolver/FontBuilder.h" | 33 #include "core/css/resolver/FontBuilder.h" |
34 #include "core/dom/Document.h" | 34 #include "core/dom/Document.h" |
35 #include "core/dom/Element.h" | 35 #include "core/dom/Element.h" |
36 #include "core/style/CachedUAStyle.h" | 36 #include "core/style/CachedUAStyle.h" |
37 #include "core/style/ComputedStyle.h" | 37 #include "core/style/ComputedStyle.h" |
38 #include "core/style/StyleInheritedData.h" | 38 #include "core/style/StyleInheritedData.h" |
39 #include <memory> | |
40 | 39 |
41 namespace blink { | 40 namespace blink { |
42 | 41 |
43 class FontDescription; | 42 class FontDescription; |
44 | 43 |
45 class CORE_EXPORT StyleResolverState { | 44 class CORE_EXPORT StyleResolverState { |
46 STACK_ALLOCATED(); | 45 STACK_ALLOCATED(); |
47 WTF_MAKE_NONCOPYABLE(StyleResolverState); | 46 WTF_MAKE_NONCOPYABLE(StyleResolverState); |
48 public: | 47 public: |
49 StyleResolverState(Document&, const ElementResolveContext&, const ComputedSt
yle* parentStyle); | 48 StyleResolverState(Document&, const ElementResolveContext&, const ComputedSt
yle* parentStyle); |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 RefPtr<ComputedStyle> m_parentStyle; | 173 RefPtr<ComputedStyle> m_parentStyle; |
175 | 174 |
176 CSSAnimationUpdate m_animationUpdate; | 175 CSSAnimationUpdate m_animationUpdate; |
177 | 176 |
178 bool m_applyPropertyToRegularStyle; | 177 bool m_applyPropertyToRegularStyle; |
179 bool m_applyPropertyToVisitedLinkStyle; | 178 bool m_applyPropertyToVisitedLinkStyle; |
180 bool m_hasDirAutoAttribute; | 179 bool m_hasDirAutoAttribute; |
181 | 180 |
182 FontBuilder m_fontBuilder; | 181 FontBuilder m_fontBuilder; |
183 | 182 |
184 std::unique_ptr<CachedUAStyle> m_cachedUAStyle; | 183 OwnPtr<CachedUAStyle> m_cachedUAStyle; |
185 | 184 |
186 ElementStyleResources m_elementStyleResources; | 185 ElementStyleResources m_elementStyleResources; |
187 | 186 |
188 HeapHashMap<String, Member<StylePropertySet>> m_customPropertySetsForApplyAt
Rule; | 187 HeapHashMap<String, Member<StylePropertySet>> m_customPropertySetsForApplyAt
Rule; |
189 }; | 188 }; |
190 | 189 |
191 } // namespace blink | 190 } // namespace blink |
192 | 191 |
193 #endif // StyleResolverState_h | 192 #endif // StyleResolverState_h |
OLD | NEW |