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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 return m_documentStyleSheetCollection.get(); | 211 return m_documentStyleSheetCollection.get(); |
212 } | 212 } |
213 | 213 |
214 DocumentStyleSheetCollection* documentStyleSheetCollection() | 214 DocumentStyleSheetCollection* documentStyleSheetCollection() |
215 { | 215 { |
216 return m_documentStyleSheetCollection.get(); | 216 return m_documentStyleSheetCollection.get(); |
217 } | 217 } |
218 | 218 |
219 void updateActiveStyleSheetsInShadow(StyleResolverUpdateMode, TreeScope*, Un
orderedTreeScopeSet& treeScopesRemoved); | 219 void updateActiveStyleSheetsInShadow(StyleResolverUpdateMode, TreeScope*, Un
orderedTreeScopeSet& treeScopesRemoved); |
220 | 220 |
| 221 bool shouldSkipInvalidationFor(const Element&) const; |
| 222 |
221 RawPtrWillBeMember<Document> m_document; | 223 RawPtrWillBeMember<Document> m_document; |
222 bool m_isMaster; | 224 bool m_isMaster; |
223 | 225 |
224 // Track the number of currently loading top-level stylesheets needed for la
yout. | 226 // Track the number of currently loading top-level stylesheets needed for la
yout. |
225 // Sheets loaded using the @import directive are not included in this count. | 227 // Sheets loaded using the @import directive are not included in this count. |
226 // We use this count of pending sheets to detect when we can begin attaching | 228 // We use this count of pending sheets to detect when we can begin attaching |
227 // elements and when it is safe to execute scripts. | 229 // elements and when it is safe to execute scripts. |
228 int m_pendingStylesheets; | 230 int m_pendingStylesheets; |
229 | 231 |
230 WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet>> m_injectedAuthorStyleShe
ets; | 232 WillBeHeapVector<RefPtrWillBeMember<CSSStyleSheet>> m_injectedAuthorStyleShe
ets; |
(...skipping 23 matching lines...) Expand all Loading... |
254 | 256 |
255 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; | 257 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; |
256 | 258 |
257 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents>> m_te
xtToSheetCache; | 259 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents>> m_te
xtToSheetCache; |
258 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh
eetToTextCache; | 260 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh
eetToTextCache; |
259 }; | 261 }; |
260 | 262 |
261 } | 263 } |
262 | 264 |
263 #endif | 265 #endif |
OLD | NEW |