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

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

Issue 19266007: Web Animations: Introduce ActiveAnimations and AnimationStack (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. Created 7 years, 5 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/css/resolver/StyleResolver.cpp ('k') | Source/core/dom/Element.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 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e Inc. All rights reserved. 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2013 Appl e Inc. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 19 matching lines...) Expand all
30 #include "core/css/CSSPrimitiveValue.h" 30 #include "core/css/CSSPrimitiveValue.h"
31 #include "core/dom/Attribute.h" 31 #include "core/dom/Attribute.h"
32 #include "core/dom/Document.h" 32 #include "core/dom/Document.h"
33 #include "core/dom/SpaceSplitString.h" 33 #include "core/dom/SpaceSplitString.h"
34 #include "core/html/CollectionType.h" 34 #include "core/html/CollectionType.h"
35 #include "core/platform/ScrollTypes.h" 35 #include "core/platform/ScrollTypes.h"
36 #include "core/rendering/RegionOversetState.h" 36 #include "core/rendering/RegionOversetState.h"
37 37
38 namespace WebCore { 38 namespace WebCore {
39 39
40 class Animation; 40 class ActiveAnimations;
41 class Attr; 41 class Attr;
42 class Attribute; 42 class Attribute;
43 class ClientRect; 43 class ClientRect;
44 class ClientRectList; 44 class ClientRectList;
45 class DOMStringMap; 45 class DOMStringMap;
46 class DOMTokenList; 46 class DOMTokenList;
47 class Element; 47 class Element;
48 class ElementRareData; 48 class ElementRareData;
49 class ElementShadow; 49 class ElementShadow;
50 class InputMethodContext; 50 class InputMethodContext;
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 const AtomicString& webkitRegionOverset() const; 615 const AtomicString& webkitRegionOverset() const;
616 Vector<RefPtr<Range> > webkitGetRegionFlowRanges() const; 616 Vector<RefPtr<Range> > webkitGetRegionFlowRanges() const;
617 617
618 bool hasID() const; 618 bool hasID() const;
619 bool hasClass() const; 619 bool hasClass() const;
620 const SpaceSplitString& classNames() const; 620 const SpaceSplitString& classNames() const;
621 621
622 IntSize savedLayerScrollOffset() const; 622 IntSize savedLayerScrollOffset() const;
623 void setSavedLayerScrollOffset(const IntSize&); 623 void setSavedLayerScrollOffset(const IntSize&);
624 624
625 void addActiveAnimation(Animation*); 625 ActiveAnimations* activeAnimations() const;
626 void removeActiveAnimation(Animation*); 626 ActiveAnimations* ensureActiveAnimations();
627 bool hasActiveAnimations() const; 627 bool hasActiveAnimations() const;
628 Vector<Animation*>* activeAnimations() const;
629 628
630 InputMethodContext* getInputContext(); 629 InputMethodContext* getInputContext();
631 630
632 protected: 631 protected:
633 Element(const QualifiedName& tagName, Document* document, ConstructionType t ype) 632 Element(const QualifiedName& tagName, Document* document, ConstructionType t ype)
634 : ContainerNode(document, type) 633 : ContainerNode(document, type)
635 , m_tagName(tagName) 634 , m_tagName(tagName)
636 { 635 {
637 ScriptWrappable::init(this); 636 ScriptWrappable::init(this);
638 } 637 }
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
1060 1059
1061 inline const Attribute* ElementData::attributeItem(unsigned index) const 1060 inline const Attribute* ElementData::attributeItem(unsigned index) const
1062 { 1061 {
1063 RELEASE_ASSERT(index < length()); 1062 RELEASE_ASSERT(index < length());
1064 return attributeBase() + index; 1063 return attributeBase() + index;
1065 } 1064 }
1066 1065
1067 } // namespace 1066 } // namespace
1068 1067
1069 #endif 1068 #endif
OLDNEW
« no previous file with comments | « Source/core/css/resolver/StyleResolver.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698