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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 } | 308 } |
309 | 309 |
310 void updateActiveStyleSheetsInShadow( | 310 void updateActiveStyleSheetsInShadow( |
311 TreeScope*, | 311 TreeScope*, |
312 UnorderedTreeScopeSet& treeScopesRemoved); | 312 UnorderedTreeScopeSet& treeScopesRemoved); |
313 | 313 |
314 bool shouldSkipInvalidationFor(const Element&) const; | 314 bool shouldSkipInvalidationFor(const Element&) const; |
315 void scheduleRuleSetInvalidationsForElement( | 315 void scheduleRuleSetInvalidationsForElement( |
316 Element&, | 316 Element&, |
317 const HeapHashSet<Member<RuleSet>>&); | 317 const HeapHashSet<Member<RuleSet>>&); |
| 318 void scheduleTypeRuleSetInvalidations(ContainerNode&, |
| 319 const HeapHashSet<Member<RuleSet>>&); |
318 void invalidateSlottedElements(HTMLSlotElement&); | 320 void invalidateSlottedElements(HTMLSlotElement&); |
319 | 321 |
320 void updateViewport(); | 322 void updateViewport(); |
321 void updateActiveStyleSheets(); | 323 void updateActiveStyleSheets(); |
322 void updateGlobalRuleSet() { | 324 void updateGlobalRuleSet() { |
323 DCHECK(!needsActiveStyleSheetUpdate()); | 325 DCHECK(!needsActiveStyleSheetUpdate()); |
324 m_globalRuleSet.update(document()); | 326 m_globalRuleSet.update(document()); |
325 } | 327 } |
326 const MediaQueryEvaluator& ensureMediaQueryEvaluator(); | 328 const MediaQueryEvaluator& ensureMediaQueryEvaluator(); |
327 | 329 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 | 377 |
376 std::unique_ptr<StyleResolverStats> m_styleResolverStats; | 378 std::unique_ptr<StyleResolverStats> m_styleResolverStats; |
377 unsigned m_styleForElementCount = 0; | 379 unsigned m_styleForElementCount = 0; |
378 | 380 |
379 friend class StyleEngineTest; | 381 friend class StyleEngineTest; |
380 }; | 382 }; |
381 | 383 |
382 } // namespace blink | 384 } // namespace blink |
383 | 385 |
384 #endif | 386 #endif |
OLD | NEW |