| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 void printStats(); | 193 void printStats(); |
| 194 | 194 |
| 195 unsigned accessCount() const { return m_accessCount; } | 195 unsigned accessCount() const { return m_accessCount; } |
| 196 void didAccess() { ++m_accessCount; } | 196 void didAccess() { ++m_accessCount; } |
| 197 | 197 |
| 198 void increaseStyleSharingDepth() { ++m_styleSharingDepth; } | 198 void increaseStyleSharingDepth() { ++m_styleSharingDepth; } |
| 199 void decreaseStyleSharingDepth() { --m_styleSharingDepth; } | 199 void decreaseStyleSharingDepth() { --m_styleSharingDepth; } |
| 200 | 200 |
| 201 PassRefPtrWillBeRawPtr<PseudoElement> createPseudoElementIfNeeded(Element& p
arent, PseudoId); | 201 PassRefPtrWillBeRawPtr<PseudoElement> createPseudoElementIfNeeded(Element& p
arent, PseudoId); |
| 202 | 202 |
| 203 void trace(Visitor*); | 203 DECLARE_TRACE(); |
| 204 | 204 |
| 205 void addTreeBoundaryCrossingScope(ContainerNode& scope); | 205 void addTreeBoundaryCrossingScope(ContainerNode& scope); |
| 206 | 206 |
| 207 private: | 207 private: |
| 208 void initWatchedSelectorRules(const WillBeHeapVector<RefPtrWillBeMember<Styl
eRule> >& watchedSelectors); | 208 void initWatchedSelectorRules(const WillBeHeapVector<RefPtrWillBeMember<Styl
eRule> >& watchedSelectors); |
| 209 | 209 |
| 210 // FIXME: This should probably go away, folded into FontBuilder. | 210 // FIXME: This should probably go away, folded into FontBuilder. |
| 211 void updateFont(StyleResolverState&); | 211 void updateFont(StyleResolverState&); |
| 212 | 212 |
| 213 static AuthorStyleInfo authorStyleInfo(StyleResolverState&); | 213 static AuthorStyleInfo authorStyleInfo(StyleResolverState&); |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; | 292 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; |
| 293 unsigned m_styleResolverStatsSequence; | 293 unsigned m_styleResolverStatsSequence; |
| 294 | 294 |
| 295 // Use only for Internals::updateStyleAndReturnAffectedElementCount. | 295 // Use only for Internals::updateStyleAndReturnAffectedElementCount. |
| 296 unsigned m_accessCount; | 296 unsigned m_accessCount; |
| 297 }; | 297 }; |
| 298 | 298 |
| 299 } // namespace blink | 299 } // namespace blink |
| 300 | 300 |
| 301 #endif // StyleResolver_h | 301 #endif // StyleResolver_h |
| OLD | NEW |