Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: Source/core/dom/StyleEngine.cpp

Issue 653223002: Navigation transitions (web to native app): Revert exit transition (Blink side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698