| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 public: | 73 public: |
| 74 StyleResolverUpdateType styleResolverUpdateType; | 74 StyleResolverUpdateType styleResolverUpdateType; |
| 75 bool requiresFullStyleRecalc; | 75 bool requiresFullStyleRecalc; |
| 76 HeapVector<Member<const StyleRuleFontFace>> fontFaceRulesToRemove; | 76 HeapVector<Member<const StyleRuleFontFace>> fontFaceRulesToRemove; |
| 77 | 77 |
| 78 StyleSheetChange() | 78 StyleSheetChange() |
| 79 : styleResolverUpdateType(Reconstruct) | 79 : styleResolverUpdateType(Reconstruct) |
| 80 , requiresFullStyleRecalc(true) { } | 80 , requiresFullStyleRecalc(true) { } |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 void analyzeStyleSheetChange(StyleResolverUpdateMode, const StyleSheetCollec
tion&, StyleSheetChange&); | 83 void analyzeStyleSheetChange(StyleResolverUpdateMode, const HeapVector<Membe
r<CSSStyleSheet>>&, StyleSheetChange&); |
| 84 | 84 |
| 85 private: | 85 private: |
| 86 static StyleResolverUpdateType compareStyleSheets(const HeapVector<Member<CS
SStyleSheet>>& oldStyleSheets, const HeapVector<Member<CSSStyleSheet>>& newStyle
sheets, HeapVector<Member<StyleSheetContents>>& addedSheets); | 86 static StyleResolverUpdateType compareStyleSheets(const HeapVector<Member<CS
SStyleSheet>>& oldStyleSheets, const HeapVector<Member<CSSStyleSheet>>& newStyle
sheets, HeapVector<Member<StyleSheetContents>>& addedSheets); |
| 87 bool activeLoadingStyleSheetLoaded(const HeapVector<Member<CSSStyleSheet>>&
newStyleSheets); | 87 bool activeLoadingStyleSheetLoaded(const HeapVector<Member<CSSStyleSheet>>&
newStyleSheets); |
| 88 | 88 |
| 89 friend class TreeScopeStyleSheetCollectionTest; | 89 friend class TreeScopeStyleSheetCollectionTest; |
| 90 | 90 |
| 91 protected: | 91 protected: |
| 92 Member<TreeScope> m_treeScope; | 92 Member<TreeScope> m_treeScope; |
| 93 bool m_hadActiveLoadingStylesheet; | 93 bool m_hadActiveLoadingStylesheet; |
| 94 | 94 |
| 95 DocumentOrderedList m_styleSheetCandidateNodes; | 95 DocumentOrderedList m_styleSheetCandidateNodes; |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 } // namespace blink | 98 } // namespace blink |
| 99 | 99 |
| 100 #endif | 100 #endif |
| OLD | NEW |