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

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

Issue 275863002: Revert of Web Animations: Timeline should not advance during task execution (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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/Document.h ('k') | Source/web/WebKit.cpp » ('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 24 matching lines...) Expand all
35 #include "SVGNames.h" 35 #include "SVGNames.h"
36 #include "XMLNSNames.h" 36 #include "XMLNSNames.h"
37 #include "XMLNames.h" 37 #include "XMLNames.h"
38 #include "bindings/v8/CustomElementConstructorBuilder.h" 38 #include "bindings/v8/CustomElementConstructorBuilder.h"
39 #include "bindings/v8/Dictionary.h" 39 #include "bindings/v8/Dictionary.h"
40 #include "bindings/v8/ExceptionMessages.h" 40 #include "bindings/v8/ExceptionMessages.h"
41 #include "bindings/v8/ExceptionState.h" 41 #include "bindings/v8/ExceptionState.h"
42 #include "bindings/v8/ExceptionStatePlaceholder.h" 42 #include "bindings/v8/ExceptionStatePlaceholder.h"
43 #include "bindings/v8/ScriptController.h" 43 #include "bindings/v8/ScriptController.h"
44 #include "core/accessibility/AXObjectCache.h" 44 #include "core/accessibility/AXObjectCache.h"
45 #include "core/animation/AnimationClock.h"
45 #include "core/animation/DocumentAnimations.h" 46 #include "core/animation/DocumentAnimations.h"
46 #include "core/animation/DocumentTimeline.h" 47 #include "core/animation/DocumentTimeline.h"
47 #include "core/animation/css/TransitionTimeline.h" 48 #include "core/animation/css/TransitionTimeline.h"
48 #include "core/css/CSSFontSelector.h" 49 #include "core/css/CSSFontSelector.h"
49 #include "core/css/CSSStyleDeclaration.h" 50 #include "core/css/CSSStyleDeclaration.h"
50 #include "core/css/CSSStyleSheet.h" 51 #include "core/css/CSSStyleSheet.h"
51 #include "core/css/MediaQueryMatcher.h" 52 #include "core/css/MediaQueryMatcher.h"
52 #include "core/css/StylePropertySet.h" 53 #include "core/css/StylePropertySet.h"
53 #include "core/css/StyleSheetContents.h" 54 #include "core/css/StyleSheetContents.h"
54 #include "core/css/StyleSheetList.h" 55 #include "core/css/StyleSheetList.h"
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 , m_directionSetOnDocumentElement(false) 469 , m_directionSetOnDocumentElement(false)
469 , m_writingModeSetOnDocumentElement(false) 470 , m_writingModeSetOnDocumentElement(false)
470 , m_writeRecursionIsTooDeep(false) 471 , m_writeRecursionIsTooDeep(false)
471 , m_writeRecursionDepth(0) 472 , m_writeRecursionDepth(0)
472 , m_taskRunner(MainThreadTaskRunner::create(this)) 473 , m_taskRunner(MainThreadTaskRunner::create(this))
473 , m_registrationContext(initializer.registrationContext(this)) 474 , m_registrationContext(initializer.registrationContext(this))
474 , m_elementDataCacheClearTimer(this, &Document::elementDataCacheClearTimerFi red) 475 , m_elementDataCacheClearTimer(this, &Document::elementDataCacheClearTimerFi red)
475 #ifndef NDEBUG 476 #ifndef NDEBUG
476 , m_didDispatchViewportPropertiesChanged(false) 477 , m_didDispatchViewportPropertiesChanged(false)
477 #endif 478 #endif
479 , m_animationClock(AnimationClock::create())
478 , m_timeline(DocumentTimeline::create(this)) 480 , m_timeline(DocumentTimeline::create(this))
479 , m_transitionTimeline(TransitionTimeline::create(this)) 481 , m_transitionTimeline(TransitionTimeline::create(this))
480 , m_templateDocumentHost(nullptr) 482 , m_templateDocumentHost(nullptr)
481 , m_didAssociateFormControlsTimer(this, &Document::didAssociateFormControlsT imerFired) 483 , m_didAssociateFormControlsTimer(this, &Document::didAssociateFormControlsT imerFired)
482 , m_hasViewportUnits(false) 484 , m_hasViewportUnits(false)
483 , m_styleRecalcElementCounter(0) 485 , m_styleRecalcElementCounter(0)
484 { 486 {
485 setClient(this); 487 setClient(this);
486 ScriptWrappable::init(this); 488 ScriptWrappable::init(this);
487 489
(...skipping 5226 matching lines...) Expand 10 before | Expand all | Expand 10 after
5714 visitor->trace(m_visibilityObservers); 5716 visitor->trace(m_visibilityObservers);
5715 visitor->trace(m_userActionElements); 5717 visitor->trace(m_userActionElements);
5716 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this); 5718 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this);
5717 DocumentSupplementable::trace(visitor); 5719 DocumentSupplementable::trace(visitor);
5718 TreeScope::trace(visitor); 5720 TreeScope::trace(visitor);
5719 ContainerNode::trace(visitor); 5721 ContainerNode::trace(visitor);
5720 ExecutionContext::trace(visitor); 5722 ExecutionContext::trace(visitor);
5721 } 5723 }
5722 5724
5723 } // namespace WebCore 5725 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/dom/Document.h ('k') | Source/web/WebKit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698