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

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

Issue 73643004: Web Animations: Extract an API for servicing animations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 7 years, 1 month 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/css/CSSComputedStyleDeclaration.cpp ('k') | Source/core/dom/Document.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, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 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) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 void removeFocusedElementOfSubtree(Node*, bool amongChildrenOnly = false); 615 void removeFocusedElementOfSubtree(Node*, bool amongChildrenOnly = false);
616 void hoveredNodeDetached(Node*); 616 void hoveredNodeDetached(Node*);
617 void activeChainNodeDetached(Node*); 617 void activeChainNodeDetached(Node*);
618 618
619 void updateHoverActiveState(const HitTestRequest&, Element*, const PlatformM ouseEvent* = 0); 619 void updateHoverActiveState(const HitTestRequest&, Element*, const PlatformM ouseEvent* = 0);
620 620
621 // Updates for :target (CSS3 selector). 621 // Updates for :target (CSS3 selector).
622 void setCSSTarget(Element*); 622 void setCSSTarget(Element*);
623 Element* cssTarget() const { return m_cssTarget; } 623 Element* cssTarget() const { return m_cssTarget; }
624 624
625 void serviceAnimations(double monotonicAnimationStartTime);
626 void dispatchAnimationEvents();
627
628 void scheduleStyleRecalc(); 625 void scheduleStyleRecalc();
629 void unscheduleStyleRecalc(); 626 void unscheduleStyleRecalc();
630 bool hasPendingStyleRecalc() const; 627 bool hasPendingStyleRecalc() const;
631 bool hasPendingForcedStyleRecalc() const; 628 bool hasPendingForcedStyleRecalc() const;
632 void styleRecalcTimerFired(Timer<Document>*); 629 void styleRecalcTimerFired(Timer<Document>*);
633 630
634 void registerNodeList(LiveNodeListBase*); 631 void registerNodeList(LiveNodeListBase*);
635 void unregisterNodeList(LiveNodeListBase*); 632 void unregisterNodeList(LiveNodeListBase*);
636 bool shouldInvalidateNodeListCaches(const QualifiedName* attrName = 0) const ; 633 bool shouldInvalidateNodeListCaches(const QualifiedName* attrName = 0) const ;
637 void invalidateNodeListCaches(const QualifiedName* attrName); 634 void invalidateNodeListCaches(const QualifiedName* attrName);
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
1359 inline bool Node::isDocumentNode() const 1356 inline bool Node::isDocumentNode() const
1360 { 1357 {
1361 return this == documentInternal(); 1358 return this == documentInternal();
1362 } 1359 }
1363 1360
1364 Node* eventTargetNodeForDocument(Document*); 1361 Node* eventTargetNodeForDocument(Document*);
1365 1362
1366 } // namespace WebCore 1363 } // namespace WebCore
1367 1364
1368 #endif // Document_h 1365 #endif // Document_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSComputedStyleDeclaration.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698