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

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

Issue 299723002: 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') | no next file » | 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/AnimationTimeline.h" 46 #include "core/animation/AnimationTimeline.h"
46 #include "core/animation/DocumentAnimations.h" 47 #include "core/animation/DocumentAnimations.h"
47 #include "core/css/CSSFontSelector.h" 48 #include "core/css/CSSFontSelector.h"
48 #include "core/css/CSSStyleDeclaration.h" 49 #include "core/css/CSSStyleDeclaration.h"
49 #include "core/css/CSSStyleSheet.h" 50 #include "core/css/CSSStyleSheet.h"
50 #include "core/css/MediaQueryMatcher.h" 51 #include "core/css/MediaQueryMatcher.h"
51 #include "core/css/StylePropertySet.h" 52 #include "core/css/StylePropertySet.h"
52 #include "core/css/StyleSheetContents.h" 53 #include "core/css/StyleSheetContents.h"
53 #include "core/css/StyleSheetList.h" 54 #include "core/css/StyleSheetList.h"
54 #include "core/css/invalidation/StyleInvalidator.h" 55 #include "core/css/invalidation/StyleInvalidator.h"
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 , m_directionSetOnDocumentElement(false) 468 , m_directionSetOnDocumentElement(false)
468 , m_writingModeSetOnDocumentElement(false) 469 , m_writingModeSetOnDocumentElement(false)
469 , m_writeRecursionIsTooDeep(false) 470 , m_writeRecursionIsTooDeep(false)
470 , m_writeRecursionDepth(0) 471 , m_writeRecursionDepth(0)
471 , m_taskRunner(MainThreadTaskRunner::create(this)) 472 , m_taskRunner(MainThreadTaskRunner::create(this))
472 , m_registrationContext(initializer.registrationContext(this)) 473 , m_registrationContext(initializer.registrationContext(this))
473 , m_elementDataCacheClearTimer(this, &Document::elementDataCacheClearTimerFi red) 474 , m_elementDataCacheClearTimer(this, &Document::elementDataCacheClearTimerFi red)
474 #ifndef NDEBUG 475 #ifndef NDEBUG
475 , m_didDispatchViewportPropertiesChanged(false) 476 , m_didDispatchViewportPropertiesChanged(false)
476 #endif 477 #endif
478 , m_animationClock(AnimationClock::create())
477 , m_timeline(AnimationTimeline::create(this)) 479 , m_timeline(AnimationTimeline::create(this))
478 , m_templateDocumentHost(nullptr) 480 , m_templateDocumentHost(nullptr)
479 , m_didAssociateFormControlsTimer(this, &Document::didAssociateFormControlsT imerFired) 481 , m_didAssociateFormControlsTimer(this, &Document::didAssociateFormControlsT imerFired)
480 , m_hasViewportUnits(false) 482 , m_hasViewportUnits(false)
481 , m_styleRecalcElementCounter(0) 483 , m_styleRecalcElementCounter(0)
482 { 484 {
483 setClient(this); 485 setClient(this);
484 ScriptWrappable::init(this); 486 ScriptWrappable::init(this);
485 487
486 if (m_frame) { 488 if (m_frame) {
(...skipping 5237 matching lines...) Expand 10 before | Expand all | Expand 10 after
5724 visitor->trace(m_timeline); 5726 visitor->trace(m_timeline);
5725 visitor->trace(m_compositorPendingAnimations); 5727 visitor->trace(m_compositorPendingAnimations);
5726 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this); 5728 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this);
5727 DocumentSupplementable::trace(visitor); 5729 DocumentSupplementable::trace(visitor);
5728 TreeScope::trace(visitor); 5730 TreeScope::trace(visitor);
5729 ContainerNode::trace(visitor); 5731 ContainerNode::trace(visitor);
5730 ExecutionContext::trace(visitor); 5732 ExecutionContext::trace(visitor);
5731 } 5733 }
5732 5734
5733 } // namespace WebCore 5735 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/dom/Document.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698