| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r
ights reserved. |
| 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 9 * Copyright (C) 2011 Google Inc. All rights reserved. | 9 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 10 * | 10 * |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 void collectScopedStyleFeaturesTo(RuleFeatureSet&) const; | 165 void collectScopedStyleFeaturesTo(RuleFeatureSet&) const; |
| 166 void ensureFullscreenUAStyle(); | 166 void ensureFullscreenUAStyle(); |
| 167 | 167 |
| 168 void platformColorsChanged(); | 168 void platformColorsChanged(); |
| 169 | 169 |
| 170 void classChangedForElement(const SpaceSplitString& changedClasses, Element&
); | 170 void classChangedForElement(const SpaceSplitString& changedClasses, Element&
); |
| 171 void classChangedForElement(const SpaceSplitString& oldClasses, const SpaceS
plitString& newClasses, Element&); | 171 void classChangedForElement(const SpaceSplitString& oldClasses, const SpaceS
plitString& newClasses, Element&); |
| 172 void attributeChangedForElement(const QualifiedName& attributeName, Element&
); | 172 void attributeChangedForElement(const QualifiedName& attributeName, Element&
); |
| 173 void idChangedForElement(const AtomicString& oldId, const AtomicString& newI
d, Element&); | 173 void idChangedForElement(const AtomicString& oldId, const AtomicString& newI
d, Element&); |
| 174 void pseudoStateChangedForElement(CSSSelector::PseudoType, Element&); | 174 void pseudoStateChangedForElement(CSSSelector::PseudoType, Element&); |
| 175 void scheduleSiblingInvalidationsForElement(Element&, ContainerNode& schedul
ingParent); | 175 void scheduleSiblingInvalidationsForElement(Element&, ContainerNode& schedul
ingParent, unsigned minDirectAdjacent); |
| 176 void scheduleInvalidationsForInsertedSibling(Element* beforeElement, Element
& insertedElement); | 176 void scheduleInvalidationsForInsertedSibling(Element* beforeElement, Element
& insertedElement); |
| 177 void scheduleInvalidationsForRemovedSibling(Element* beforeElement, Element&
removedElement, Element& afterElement); | 177 void scheduleInvalidationsForRemovedSibling(Element* beforeElement, Element&
removedElement, Element& afterElement); |
| 178 unsigned styleForElementCount() const { return m_styleForElementCount; } | 178 unsigned styleForElementCount() const { return m_styleForElementCount; } |
| 179 void incStyleForElementCount() { m_styleForElementCount++; } | 179 void incStyleForElementCount() { m_styleForElementCount++; } |
| 180 | 180 |
| 181 StyleResolverStats* stats() { return m_styleResolverStats.get(); } | 181 StyleResolverStats* stats() { return m_styleResolverStats.get(); } |
| 182 void setStatsEnabled(bool); | 182 void setStatsEnabled(bool); |
| 183 | 183 |
| 184 DECLARE_VIRTUAL_TRACE(); | 184 DECLARE_VIRTUAL_TRACE(); |
| 185 | 185 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 | 270 |
| 271 std::unique_ptr<StyleResolverStats> m_styleResolverStats; | 271 std::unique_ptr<StyleResolverStats> m_styleResolverStats; |
| 272 unsigned m_styleForElementCount = 0; | 272 unsigned m_styleForElementCount = 0; |
| 273 | 273 |
| 274 friend class StyleEngineTest; | 274 friend class StyleEngineTest; |
| 275 }; | 275 }; |
| 276 | 276 |
| 277 } // namespace blink | 277 } // namespace blink |
| 278 | 278 |
| 279 #endif | 279 #endif |
| OLD | NEW |