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, 2011, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011, 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) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009, 2011, 2012 Google Inc. All rights reserved. |
9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. | 10 * Copyright (C) Research In Motion Limited 2010-2011. All rights reserved. |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 ASSERT(isStyleElement(*node) || treeScope == m_document); | 327 ASSERT(isStyleElement(*node) || treeScope == m_document); |
328 markTreeScopeDirty(treeScope); | 328 markTreeScopeDirty(treeScope); |
329 } | 329 } |
330 | 330 |
331 void StyleEngine::enableExitTransitionStylesheets() | 331 void StyleEngine::enableExitTransitionStylesheets() |
332 { | 332 { |
333 TreeScopeStyleSheetCollection* collection = ensureStyleSheetCollectionFor(*m
_document); | 333 TreeScopeStyleSheetCollection* collection = ensureStyleSheetCollectionFor(*m
_document); |
334 collection->enableExitTransitionStylesheets(); | 334 collection->enableExitTransitionStylesheets(); |
335 } | 335 } |
336 | 336 |
| 337 void StyleEngine::disableExitTransitionStylesheets() |
| 338 { |
| 339 TreeScopeStyleSheetCollection* collection = ensureStyleSheetCollectionFor(*m
_document); |
| 340 collection->disableExitTransitionStylesheets(); |
| 341 } |
| 342 |
337 bool StyleEngine::shouldUpdateDocumentStyleSheetCollection(StyleResolverUpdateMo
de updateMode) const | 343 bool StyleEngine::shouldUpdateDocumentStyleSheetCollection(StyleResolverUpdateMo
de updateMode) const |
338 { | 344 { |
339 return m_documentScopeDirty || updateMode == FullStyleUpdate; | 345 return m_documentScopeDirty || updateMode == FullStyleUpdate; |
340 } | 346 } |
341 | 347 |
342 bool StyleEngine::shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdate
Mode updateMode) const | 348 bool StyleEngine::shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdate
Mode updateMode) const |
343 { | 349 { |
344 return !m_dirtyTreeScopes.isEmpty() || updateMode == FullStyleUpdate; | 350 return !m_dirtyTreeScopes.isEmpty() || updateMode == FullStyleUpdate; |
345 } | 351 } |
346 | 352 |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
681 visitor->trace(m_styleSheetCollectionMap); | 687 visitor->trace(m_styleSheetCollectionMap); |
682 visitor->trace(m_resolver); | 688 visitor->trace(m_resolver); |
683 visitor->trace(m_fontSelector); | 689 visitor->trace(m_fontSelector); |
684 visitor->trace(m_textToSheetCache); | 690 visitor->trace(m_textToSheetCache); |
685 visitor->trace(m_sheetToTextCache); | 691 visitor->trace(m_sheetToTextCache); |
686 #endif | 692 #endif |
687 CSSFontSelectorClient::trace(visitor); | 693 CSSFontSelectorClient::trace(visitor); |
688 } | 694 } |
689 | 695 |
690 } | 696 } |
OLD | NEW |