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

Side by Side Diff: Source/core/svg/animation/SVGSMILElement.h

Issue 1074813002: Remove isSupportedAttribute in svg (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: invalidation guard tweaks Created 5 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 template<typename T> class EventSender; 42 template<typename T> class EventSender;
43 typedef EventSender<SVGSMILElement> SMILEventSender; 43 typedef EventSender<SVGSMILElement> SMILEventSender;
44 44
45 // This class implements SMIL interval timing model as needed for SVG animation. 45 // This class implements SMIL interval timing model as needed for SVG animation.
46 class SVGSMILElement : public SVGElement, public SVGTests { 46 class SVGSMILElement : public SVGElement, public SVGTests {
47 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGSMILElement); 47 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGSMILElement);
48 public: 48 public:
49 SVGSMILElement(const QualifiedName&, Document&); 49 SVGSMILElement(const QualifiedName&, Document&);
50 virtual ~SVGSMILElement(); 50 virtual ~SVGSMILElement();
51 51
52 bool isSupportedAttribute(const QualifiedName&);
53 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide; 52 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide;
54 virtual void svgAttributeChanged(const QualifiedName&) override; 53 virtual void svgAttributeChanged(const QualifiedName&) override;
55 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; 54 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
56 virtual void removedFrom(ContainerNode*) override; 55 virtual void removedFrom(ContainerNode*) override;
57 56
58 virtual bool hasValidAttributeType() = 0; 57 virtual bool hasValidAttributeType() = 0;
59 virtual bool hasValidAttributeName(); 58 virtual bool hasValidAttributeName();
60 virtual void animationAttributeChanged() = 0; 59 virtual void animationAttributeChanged() = 0;
61 60
62 SMILTimeContainer* timeContainer() const { return m_timeContainer.get(); } 61 SMILTimeContainer* timeContainer() const { return m_timeContainer.get(); }
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 { 283 {
285 return element.hasTagName(SVGNames::setTag) || element.hasTagName(SVGNames:: animateTag) || element.hasTagName(SVGNames::animateMotionTag) 284 return element.hasTagName(SVGNames::setTag) || element.hasTagName(SVGNames:: animateTag) || element.hasTagName(SVGNames::animateMotionTag)
286 || element.hasTagName(SVGNames::animateTransformTag) || element.hasTagNa me((SVGNames::discardTag)); 285 || element.hasTagName(SVGNames::animateTransformTag) || element.hasTagNa me((SVGNames::discardTag));
287 } 286 }
288 287
289 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement); 288 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement);
290 289
291 } 290 }
292 291
293 #endif // SVGSMILElement_h 292 #endif // SVGSMILElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698