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 | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All |
7 * rights reserved. | 7 * rights reserved. |
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 | 327 |
328 Member<Document> m_document; | 328 Member<Document> m_document; |
329 bool m_isMaster; | 329 bool m_isMaster; |
330 | 330 |
331 // Track the number of currently loading top-level stylesheets needed for | 331 // Track the number of currently loading top-level stylesheets needed for |
332 // layout. Sheets loaded using the @import directive are not included in this | 332 // layout. Sheets loaded using the @import directive are not included in this |
333 // count. We use this count of pending sheets to detect when we can begin | 333 // count. We use this count of pending sheets to detect when we can begin |
334 // attaching elements and when it is safe to execute scripts. | 334 // attaching elements and when it is safe to execute scripts. |
335 int m_pendingScriptBlockingStylesheets = 0; | 335 int m_pendingScriptBlockingStylesheets = 0; |
336 int m_pendingRenderBlockingStylesheets = 0; | 336 int m_pendingRenderBlockingStylesheets = 0; |
| 337 int m_pendingBodyStylesheets = 0; |
337 | 338 |
338 HeapVector<TraceWrapperMember<CSSStyleSheet>> m_injectedAuthorStyleSheets; | 339 HeapVector<TraceWrapperMember<CSSStyleSheet>> m_injectedAuthorStyleSheets; |
339 Member<CSSStyleSheet> m_inspectorStyleSheet; | 340 Member<CSSStyleSheet> m_inspectorStyleSheet; |
340 | 341 |
341 TraceWrapperMember<DocumentStyleSheetCollection> | 342 TraceWrapperMember<DocumentStyleSheetCollection> |
342 m_documentStyleSheetCollection; | 343 m_documentStyleSheetCollection; |
343 | 344 |
344 Member<StyleRuleUsageTracker> m_tracker; | 345 Member<StyleRuleUsageTracker> m_tracker; |
345 | 346 |
346 using StyleSheetCollectionMap = | 347 using StyleSheetCollectionMap = |
(...skipping 27 matching lines...) Expand all Loading... |
374 | 375 |
375 std::unique_ptr<StyleResolverStats> m_styleResolverStats; | 376 std::unique_ptr<StyleResolverStats> m_styleResolverStats; |
376 unsigned m_styleForElementCount = 0; | 377 unsigned m_styleForElementCount = 0; |
377 | 378 |
378 friend class StyleEngineTest; | 379 friend class StyleEngineTest; |
379 }; | 380 }; |
380 | 381 |
381 } // namespace blink | 382 } // namespace blink |
382 | 383 |
383 #endif | 384 #endif |
OLD | NEW |