| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 | 106 |
| 107 unsigned accessCount() const { return m_accessCount; } | 107 unsigned accessCount() const { return m_accessCount; } |
| 108 void didAccess() { ++m_accessCount; } | 108 void didAccess() { ++m_accessCount; } |
| 109 | 109 |
| 110 private: | 110 private: |
| 111 // FIXME: This should probably go away, folded into FontBuilder. | 111 // FIXME: This should probably go away, folded into FontBuilder. |
| 112 void updateFont(StyleResolverState&); | 112 void updateFont(StyleResolverState&); |
| 113 | 113 |
| 114 void loadPendingResources(StyleResolverState&); | 114 void loadPendingResources(StyleResolverState&); |
| 115 | 115 |
| 116 void matchAuthorRules(Element*, ElementRuleCollector&); | 116 void matchRules(Element&, ElementRuleCollector&); |
| 117 void matchAllRules(StyleResolverState&, ElementRuleCollector&); | |
| 118 void matchUARules(ElementRuleCollector&); | |
| 119 | 117 |
| 120 void applyMatchedProperties(StyleResolverState&, const MatchResult&); | 118 void applyMatchedProperties(StyleResolverState&, const MatchResult&); |
| 121 bool applyAnimatedProperties(StyleResolverState&, Element* animatingElement)
; | 119 bool applyAnimatedProperties(StyleResolverState&, Element* animatingElement)
; |
| 122 | 120 |
| 123 enum StyleApplicationPass { | 121 enum StyleApplicationPass { |
| 124 HighPriorityProperties, | 122 HighPriorityProperties, |
| 125 LowPriorityProperties | 123 LowPriorityProperties |
| 126 }; | 124 }; |
| 127 template <StyleResolver::StyleApplicationPass pass> | 125 template <StyleResolver::StyleApplicationPass pass> |
| 128 static inline CSSPropertyID firstCSSPropertyId(); | 126 static inline CSSPropertyID firstCSSPropertyId(); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 149 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; | 147 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; |
| 150 unsigned m_styleResolverStatsSequence; | 148 unsigned m_styleResolverStatsSequence; |
| 151 | 149 |
| 152 // Use only for Internals::updateStyleAndReturnAffectedElementCount. | 150 // Use only for Internals::updateStyleAndReturnAffectedElementCount. |
| 153 unsigned m_accessCount; | 151 unsigned m_accessCount; |
| 154 }; | 152 }; |
| 155 | 153 |
| 156 } // namespace blink | 154 } // namespace blink |
| 157 | 155 |
| 158 #endif // SKY_ENGINE_CORE_CSS_RESOLVER_STYLERESOLVER_H_ | 156 #endif // SKY_ENGINE_CORE_CSS_RESOLVER_STYLERESOLVER_H_ |
| OLD | NEW |