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

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

Issue 1554903002: EventSender<T> singletons are better off on the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove no-op cancelEvent()s Created 4 years, 11 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
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 13 matching lines...) Expand all
24 */ 24 */
25 25
26 #ifndef SVGSMILElement_h 26 #ifndef SVGSMILElement_h
27 #define SVGSMILElement_h 27 #define SVGSMILElement_h
28 28
29 #include "core/CoreExport.h" 29 #include "core/CoreExport.h"
30 #include "core/SVGNames.h" 30 #include "core/SVGNames.h"
31 #include "core/svg/SVGElement.h" 31 #include "core/svg/SVGElement.h"
32 #include "core/svg/SVGTests.h" 32 #include "core/svg/SVGTests.h"
33 #include "core/svg/animation/SMILTime.h" 33 #include "core/svg/animation/SMILTime.h"
34 #include "platform/heap/Heap.h" 34 #include "platform/heap/Handle.h"
35 #include "wtf/HashMap.h" 35 #include "wtf/HashMap.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class ConditionEventListener; 39 class ConditionEventListener;
40 class SMILTimeContainer; 40 class SMILTimeContainer;
41 class SVGSMILElement; 41 class SVGSMILElement;
42 42
43 template<typename T> class EventSender; 43 template<typename T> class EventSender;
44 typedef EventSender<SVGSMILElement> SMILEventSender; 44 using SMILEventSender = EventSender<SVGSMILElement>;
45 45
46 // This class implements SMIL interval timing model as needed for SVG animation. 46 // This class implements SMIL interval timing model as needed for SVG animation.
47 class CORE_EXPORT SVGSMILElement : public SVGElement, public SVGTests { 47 class CORE_EXPORT SVGSMILElement : public SVGElement, public SVGTests {
48 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGSMILElement); 48 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGSMILElement);
49 public: 49 public:
50 SVGSMILElement(const QualifiedName&, Document&); 50 SVGSMILElement(const QualifiedName&, Document&);
51 ~SVGSMILElement() override; 51 ~SVGSMILElement() override;
52 52
53 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS tring&) override; 53 void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicS tring&) override;
54 void svgAttributeChanged(const QualifiedName&) override; 54 void svgAttributeChanged(const QualifiedName&) override;
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 { 284 {
285 return element.hasTagName(SVGNames::setTag) || element.hasTagName(SVGNames:: animateTag) || element.hasTagName(SVGNames::animateMotionTag) 285 return element.hasTagName(SVGNames::setTag) || element.hasTagName(SVGNames:: animateTag) || element.hasTagName(SVGNames::animateMotionTag)
286 || element.hasTagName(SVGNames::animateTransformTag) || element.hasTagNa me((SVGNames::discardTag)); 286 || element.hasTagName(SVGNames::animateTransformTag) || element.hasTagNa me((SVGNames::discardTag));
287 } 287 }
288 288
289 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement); 289 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement);
290 290
291 } 291 }
292 292
293 #endif // SVGSMILElement_h 293 #endif // SVGSMILElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGUseElement.cpp ('k') | third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698