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 11 matching lines...) Expand all Loading... |
22 #ifndef StyleResolverState_h | 22 #ifndef StyleResolverState_h |
23 #define StyleResolverState_h | 23 #define StyleResolverState_h |
24 | 24 |
25 #include "CSSPropertyNames.h" | 25 #include "CSSPropertyNames.h" |
26 | 26 |
27 #include "core/css/CSSSVGDocumentValue.h" | 27 #include "core/css/CSSSVGDocumentValue.h" |
28 #include "core/css/CSSToStyleMap.h" | 28 #include "core/css/CSSToStyleMap.h" |
29 #include "core/css/resolver/ElementStyleResources.h" | 29 #include "core/css/resolver/ElementStyleResources.h" |
30 #include "core/css/resolver/FontBuilder.h" | 30 #include "core/css/resolver/FontBuilder.h" |
31 #include "core/dom/Element.h" | 31 #include "core/dom/Element.h" |
32 #include "core/platform/graphics/Color.h" | |
33 #include "core/rendering/style/CachedUAStyle.h" | 32 #include "core/rendering/style/CachedUAStyle.h" |
34 #include "core/rendering/style/RenderStyle.h" | 33 #include "core/rendering/style/RenderStyle.h" |
35 #include "core/rendering/style/StyleInheritedData.h" | 34 #include "core/rendering/style/StyleInheritedData.h" |
36 #include "wtf/HashMap.h" | |
37 | 35 |
38 namespace WebCore { | 36 namespace WebCore { |
39 | 37 |
40 class FontDescription; | 38 class FontDescription; |
41 class RenderRegion; | 39 class RenderRegion; |
42 | 40 |
43 // ElementResolveContext is immutable and serves as an input to the style resolv
e process. | 41 // ElementResolveContext is immutable and serves as an input to the style resolv
e process. |
44 class ElementResolveContext { | 42 class ElementResolveContext { |
45 public: | 43 public: |
46 ElementResolveContext() | 44 ElementResolveContext() |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 | 194 |
197 ElementStyleResources m_elementStyleResources; | 195 ElementStyleResources m_elementStyleResources; |
198 // CSSToStyleMap is a pure-logic class and only contains | 196 // CSSToStyleMap is a pure-logic class and only contains |
199 // a back-pointer to this object. | 197 // a back-pointer to this object. |
200 CSSToStyleMap m_styleMap; | 198 CSSToStyleMap m_styleMap; |
201 }; | 199 }; |
202 | 200 |
203 } // namespace WebCore | 201 } // namespace WebCore |
204 | 202 |
205 #endif // StyleResolverState_h | 203 #endif // StyleResolverState_h |
OLD | NEW |