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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 ASSERT(isHTMLStyleElement(node) || treeScope == m_document); | 358 ASSERT(isHTMLStyleElement(node) || treeScope == m_document); |
359 markTreeScopeDirty(treeScope); | 359 markTreeScopeDirty(treeScope); |
360 } | 360 } |
361 | 361 |
362 void StyleEngine::enableExitTransitionStylesheets() | 362 void StyleEngine::enableExitTransitionStylesheets() |
363 { | 363 { |
364 TreeScopeStyleSheetCollection* collection = ensureStyleSheetCollectionFor(*m
_document); | 364 TreeScopeStyleSheetCollection* collection = ensureStyleSheetCollectionFor(*m
_document); |
365 collection->enableExitTransitionStylesheets(); | 365 collection->enableExitTransitionStylesheets(); |
366 } | 366 } |
367 | 367 |
| 368 void StyleEngine::disableExitTransitionStylesheets() |
| 369 { |
| 370 TreeScopeStyleSheetCollection* collection = ensureStyleSheetCollectionFor(*m
_document); |
| 371 collection->disableExitTransitionStylesheets(); |
| 372 } |
| 373 |
368 bool StyleEngine::shouldUpdateDocumentStyleSheetCollection(StyleResolverUpdateMo
de updateMode) const | 374 bool StyleEngine::shouldUpdateDocumentStyleSheetCollection(StyleResolverUpdateMo
de updateMode) const |
369 { | 375 { |
370 return m_documentScopeDirty || updateMode == FullStyleUpdate; | 376 return m_documentScopeDirty || updateMode == FullStyleUpdate; |
371 } | 377 } |
372 | 378 |
373 bool StyleEngine::shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdate
Mode updateMode) const | 379 bool StyleEngine::shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdate
Mode updateMode) const |
374 { | 380 { |
375 return !m_dirtyTreeScopes.isEmpty() || updateMode == FullStyleUpdate; | 381 return !m_dirtyTreeScopes.isEmpty() || updateMode == FullStyleUpdate; |
376 } | 382 } |
377 | 383 |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
711 visitor->trace(m_resolver); | 717 visitor->trace(m_resolver); |
712 visitor->trace(m_fontSelector); | 718 visitor->trace(m_fontSelector); |
713 visitor->trace(m_textToSheetCache); | 719 visitor->trace(m_textToSheetCache); |
714 visitor->trace(m_sheetToTextCache); | 720 visitor->trace(m_sheetToTextCache); |
715 visitor->trace(m_xslStyleSheet); | 721 visitor->trace(m_xslStyleSheet); |
716 #endif | 722 #endif |
717 CSSFontSelectorClient::trace(visitor); | 723 CSSFontSelectorClient::trace(visitor); |
718 } | 724 } |
719 | 725 |
720 } | 726 } |
OLD | NEW |