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

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

Issue 275753002: Web Animations: Timeline should not advance during task execution (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add back missing test changes. 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"
46 #include "core/animation/AnimationTimeline.h" 45 #include "core/animation/AnimationTimeline.h"
47 #include "core/animation/DocumentAnimations.h" 46 #include "core/animation/DocumentAnimations.h"
48 #include "core/css/CSSFontSelector.h" 47 #include "core/css/CSSFontSelector.h"
49 #include "core/css/CSSStyleDeclaration.h" 48 #include "core/css/CSSStyleDeclaration.h"
50 #include "core/css/CSSStyleSheet.h" 49 #include "core/css/CSSStyleSheet.h"
51 #include "core/css/MediaQueryMatcher.h" 50 #include "core/css/MediaQueryMatcher.h"
52 #include "core/css/StylePropertySet.h" 51 #include "core/css/StylePropertySet.h"
53 #include "core/css/StyleSheetContents.h" 52 #include "core/css/StyleSheetContents.h"
54 #include "core/css/StyleSheetList.h" 53 #include "core/css/StyleSheetList.h"
55 #include "core/css/invalidation/StyleInvalidator.h" 54 #include "core/css/invalidation/StyleInvalidator.h"
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 , m_directionSetOnDocumentElement(false) 467 , m_directionSetOnDocumentElement(false)
469 , m_writingModeSetOnDocumentElement(false) 468 , m_writingModeSetOnDocumentElement(false)
470 , m_writeRecursionIsTooDeep(false) 469 , m_writeRecursionIsTooDeep(false)
471 , m_writeRecursionDepth(0) 470 , m_writeRecursionDepth(0)
472 , m_taskRunner(MainThreadTaskRunner::create(this)) 471 , m_taskRunner(MainThreadTaskRunner::create(this))
473 , m_registrationContext(initializer.registrationContext(this)) 472 , m_registrationContext(initializer.registrationContext(this))
474 , m_elementDataCacheClearTimer(this, &Document::elementDataCacheClearTimerFi red) 473 , m_elementDataCacheClearTimer(this, &Document::elementDataCacheClearTimerFi red)
475 #ifndef NDEBUG 474 #ifndef NDEBUG
476 , m_didDispatchViewportPropertiesChanged(false) 475 , m_didDispatchViewportPropertiesChanged(false)
477 #endif 476 #endif
478 , m_animationClock(AnimationClock::create())
479 , m_timeline(AnimationTimeline::create(this)) 477 , m_timeline(AnimationTimeline::create(this))
480 , m_templateDocumentHost(nullptr) 478 , m_templateDocumentHost(nullptr)
481 , m_didAssociateFormControlsTimer(this, &Document::didAssociateFormControlsT imerFired) 479 , m_didAssociateFormControlsTimer(this, &Document::didAssociateFormControlsT imerFired)
482 , m_hasViewportUnits(false) 480 , m_hasViewportUnits(false)
483 , m_styleRecalcElementCounter(0) 481 , m_styleRecalcElementCounter(0)
484 { 482 {
485 setClient(this); 483 setClient(this);
486 ScriptWrappable::init(this); 484 ScriptWrappable::init(this);
487 485
488 if (m_frame) { 486 if (m_frame) {
(...skipping 5271 matching lines...) Expand 10 before | Expand all | Expand 10 after
5760 visitor->trace(m_timeline); 5758 visitor->trace(m_timeline);
5761 visitor->trace(m_compositorPendingAnimations); 5759 visitor->trace(m_compositorPendingAnimations);
5762 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this); 5760 visitor->registerWeakMembers<Document, &Document::clearWeakMembers>(this);
5763 DocumentSupplementable::trace(visitor); 5761 DocumentSupplementable::trace(visitor);
5764 TreeScope::trace(visitor); 5762 TreeScope::trace(visitor);
5765 ContainerNode::trace(visitor); 5763 ContainerNode::trace(visitor);
5766 ExecutionContext::trace(visitor); 5764 ExecutionContext::trace(visitor);
5767 } 5765 }
5768 5766
5769 } // namespace WebCore 5767 } // 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