| 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 void classChangedForElement(const SpaceSplitString& changedClasses, Element&
); | 175 void classChangedForElement(const SpaceSplitString& changedClasses, Element&
); |
| 176 void classChangedForElement(const SpaceSplitString& oldClasses, const SpaceS
plitString& newClasses, Element&); | 176 void classChangedForElement(const SpaceSplitString& oldClasses, const SpaceS
plitString& newClasses, Element&); |
| 177 void attributeChangedForElement(const QualifiedName& attributeName, Element&
); | 177 void attributeChangedForElement(const QualifiedName& attributeName, Element&
); |
| 178 void idChangedForElement(const AtomicString& oldId, const AtomicString& newI
d, Element&); | 178 void idChangedForElement(const AtomicString& oldId, const AtomicString& newI
d, Element&); |
| 179 void pseudoStateChangedForElement(CSSSelector::PseudoType, Element&); | 179 void pseudoStateChangedForElement(CSSSelector::PseudoType, Element&); |
| 180 | 180 |
| 181 DECLARE_VIRTUAL_TRACE(); | 181 DECLARE_VIRTUAL_TRACE(); |
| 182 | 182 |
| 183 private: | 183 private: |
| 184 // CSSFontSelectorClient implementation. | 184 // CSSFontSelectorClient implementation. |
| 185 virtual void fontsNeedUpdate(CSSFontSelector*) override; | 185 void fontsNeedUpdate(CSSFontSelector*) override; |
| 186 | 186 |
| 187 private: | 187 private: |
| 188 StyleEngine(Document&); | 188 StyleEngine(Document&); |
| 189 | 189 |
| 190 TreeScopeStyleSheetCollection* ensureStyleSheetCollectionFor(TreeScope&); | 190 TreeScopeStyleSheetCollection* ensureStyleSheetCollectionFor(TreeScope&); |
| 191 TreeScopeStyleSheetCollection* styleSheetCollectionFor(TreeScope&); | 191 TreeScopeStyleSheetCollection* styleSheetCollectionFor(TreeScope&); |
| 192 bool shouldUpdateDocumentStyleSheetCollection(StyleResolverUpdateMode) const
; | 192 bool shouldUpdateDocumentStyleSheetCollection(StyleResolverUpdateMode) const
; |
| 193 bool shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdateMode) con
st; | 193 bool shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdateMode) con
st; |
| 194 | 194 |
| 195 void markTreeScopeDirty(TreeScope&); | 195 void markTreeScopeDirty(TreeScope&); |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 | 256 |
| 257 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; | 257 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; |
| 258 | 258 |
| 259 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents>> m_te
xtToSheetCache; | 259 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents>> m_te
xtToSheetCache; |
| 260 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh
eetToTextCache; | 260 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh
eetToTextCache; |
| 261 }; | 261 }; |
| 262 | 262 |
| 263 } | 263 } |
| 264 | 264 |
| 265 #endif | 265 #endif |
| OLD | NEW |