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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 HighPriorityProperties, | 113 HighPriorityProperties, |
114 LowPriorityProperties | 114 LowPriorityProperties |
115 }; | 115 }; |
116 template <StyleResolver::StyleApplicationPass pass> | 116 template <StyleResolver::StyleApplicationPass pass> |
117 static inline CSSPropertyID firstCSSPropertyId(); | 117 static inline CSSPropertyID firstCSSPropertyId(); |
118 template <StyleResolver::StyleApplicationPass pass> | 118 template <StyleResolver::StyleApplicationPass pass> |
119 static inline CSSPropertyID lastCSSPropertyId(); | 119 static inline CSSPropertyID lastCSSPropertyId(); |
120 template <StyleResolver::StyleApplicationPass pass> | 120 template <StyleResolver::StyleApplicationPass pass> |
121 static inline bool isPropertyForPass(CSSPropertyID); | 121 static inline bool isPropertyForPass(CSSPropertyID); |
122 template <StyleApplicationPass pass> | 122 template <StyleApplicationPass pass> |
123 void applyMatchedProperties(StyleResolverState&, const MatchResult&, bool im
portant, int startIndex, int endIndex, bool inheritedOnly); | 123 void applyMatchedProperties(StyleResolverState&, const MatchResult&, bool im
portant, bool inheritedOnly); |
124 template <StyleApplicationPass pass> | 124 template <StyleApplicationPass pass> |
125 void applyProperties(StyleResolverState&, const StylePropertySet* properties
, bool isImportant, bool inheritedOnly); | 125 void applyProperties(StyleResolverState&, const StylePropertySet* properties
, bool isImportant, bool inheritedOnly); |
126 template <StyleApplicationPass pass> | 126 template <StyleApplicationPass pass> |
127 void applyAnimatedProperties(StyleResolverState&, const HashMap<CSSPropertyI
D, RefPtr<Interpolation> >&); | 127 void applyAnimatedProperties(StyleResolverState&, const HashMap<CSSPropertyI
D, RefPtr<Interpolation> >&); |
128 template <StyleResolver::StyleApplicationPass pass> | 128 template <StyleResolver::StyleApplicationPass pass> |
129 void applyAllProperty(StyleResolverState&, CSSValue*); | 129 void applyAllProperty(StyleResolverState&, CSSValue*); |
130 | 130 |
131 MatchedPropertiesCache m_matchedPropertiesCache; | 131 MatchedPropertiesCache m_matchedPropertiesCache; |
132 | 132 |
133 Document& m_document; | 133 Document& m_document; |
134 | 134 |
135 StyleSharingList m_styleSharingList; | 135 StyleSharingList m_styleSharingList; |
136 | 136 |
137 OwnPtr<StyleResolverStats> m_styleResolverStats; | 137 OwnPtr<StyleResolverStats> m_styleResolverStats; |
138 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; | 138 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; |
139 unsigned m_styleResolverStatsSequence; | 139 unsigned m_styleResolverStatsSequence; |
140 }; | 140 }; |
141 | 141 |
142 } // namespace blink | 142 } // namespace blink |
143 | 143 |
144 #endif // SKY_ENGINE_CORE_CSS_RESOLVER_STYLERESOLVER_H_ | 144 #endif // SKY_ENGINE_CORE_CSS_RESOLVER_STYLERESOLVER_H_ |
OLD | NEW |