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

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

Issue 1140153006: Remove Navigation Transitions from Blink. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed layout tests. Created 5 years, 7 months 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/StyleEngine.h ('k') | Source/core/dom/TreeScopeStyleSheetCollection.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 void StyleEngine::modifiedStyleSheetCandidateNode(Node* node) 312 void StyleEngine::modifiedStyleSheetCandidateNode(Node* node)
313 { 313 {
314 if (!node->inDocument()) 314 if (!node->inDocument())
315 return; 315 return;
316 316
317 TreeScope& treeScope = isStyleElement(*node) ? node->treeScope() : *m_docume nt; 317 TreeScope& treeScope = isStyleElement(*node) ? node->treeScope() : *m_docume nt;
318 ASSERT(isStyleElement(*node) || treeScope == m_document); 318 ASSERT(isStyleElement(*node) || treeScope == m_document);
319 markTreeScopeDirty(treeScope); 319 markTreeScopeDirty(treeScope);
320 } 320 }
321 321
322 void StyleEngine::setExitTransitionStylesheetsEnabled(bool enabled)
323 {
324 TreeScopeStyleSheetCollection* collection = ensureStyleSheetCollectionFor(*m _document);
325 collection->setExitTransitionStyleshetsEnabled(enabled);
326 }
327
328 bool StyleEngine::shouldUpdateDocumentStyleSheetCollection(StyleResolverUpdateMo de updateMode) const 322 bool StyleEngine::shouldUpdateDocumentStyleSheetCollection(StyleResolverUpdateMo de updateMode) const
329 { 323 {
330 return m_documentScopeDirty || updateMode == FullStyleUpdate; 324 return m_documentScopeDirty || updateMode == FullStyleUpdate;
331 } 325 }
332 326
333 bool StyleEngine::shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdate Mode updateMode) const 327 bool StyleEngine::shouldUpdateShadowTreeStyleSheetCollection(StyleResolverUpdate Mode updateMode) const
334 { 328 {
335 return !m_dirtyTreeScopes.isEmpty() || updateMode == FullStyleUpdate; 329 return !m_dirtyTreeScopes.isEmpty() || updateMode == FullStyleUpdate;
336 } 330 }
337 331
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 visitor->trace(m_dirtyTreeScopes); 786 visitor->trace(m_dirtyTreeScopes);
793 visitor->trace(m_activeTreeScopes); 787 visitor->trace(m_activeTreeScopes);
794 visitor->trace(m_fontSelector); 788 visitor->trace(m_fontSelector);
795 visitor->trace(m_textToSheetCache); 789 visitor->trace(m_textToSheetCache);
796 visitor->trace(m_sheetToTextCache); 790 visitor->trace(m_sheetToTextCache);
797 #endif 791 #endif
798 CSSFontSelectorClient::trace(visitor); 792 CSSFontSelectorClient::trace(visitor);
799 } 793 }
800 794
801 } 795 }
OLDNEW
« no previous file with comments | « Source/core/dom/StyleEngine.h ('k') | Source/core/dom/TreeScopeStyleSheetCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698