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

Side by Side Diff: Source/core/svg/SVGScriptElement.h

Issue 24527003: [oilpan] Implement accept methods to trace the class hierarchy of SVGElement and all sub-classes. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 2 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) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 24 matching lines...) Expand all
35 , public SVGURIReference 35 , public SVGURIReference
36 , public SVGExternalResourcesRequired 36 , public SVGExternalResourcesRequired
37 , public ScriptElement { 37 , public ScriptElement {
38 DEFINE_SELF_HANDLE(SVGScriptElement) 38 DEFINE_SELF_HANDLE(SVGScriptElement)
39 public: 39 public:
40 static PassRefPtr<SVGScriptElement> create(const QualifiedName&, const Handl e<Document>&, bool wasInsertedByParser); 40 static PassRefPtr<SVGScriptElement> create(const QualifiedName&, const Handl e<Document>&, bool wasInsertedByParser);
41 41
42 String type() const; 42 String type() const;
43 void setType(const String&); 43 void setType(const String&);
44 44
45 virtual void accept(Visitor* visitor) const OVERRIDE { SVGElement::accept(vi sitor); }
46
45 private: 47 private:
46 SVGScriptElement(const QualifiedName&, const Handle<Document>&, bool wasInse rtedByParser, bool alreadyStarted); 48 SVGScriptElement(const QualifiedName&, const Handle<Document>&, bool wasInse rtedByParser, bool alreadyStarted);
47 49
48 bool isSupportedAttribute(const QualifiedName&); 50 bool isSupportedAttribute(const QualifiedName&);
49 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 51 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
50 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode >&) OVERRIDE; 52 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode >&) OVERRIDE;
51 virtual void childrenChanged(bool changedByParser = false, const Handle<Node >& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC ountDelta = 0); 53 virtual void childrenChanged(bool changedByParser = false, const Handle<Node >& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC ountDelta = 0);
52 54
53 virtual void svgAttributeChanged(const QualifiedName&); 55 virtual void svgAttributeChanged(const QualifiedName&);
54 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; 56 virtual bool isURLAttribute(const Attribute&) const OVERRIDE;
(...skipping 29 matching lines...) Expand all
84 END_DECLARE_ANIMATED_PROPERTIES 86 END_DECLARE_ANIMATED_PROPERTIES
85 87
86 String m_type; 88 String m_type;
87 Timer<SVGElement> m_svgLoadEventTimer; 89 Timer<SVGElement> m_svgLoadEventTimer;
88 }; 90 };
89 91
90 } // namespace WebCore 92 } // namespace WebCore
91 93
92 #endif // ENABLE(SVG) 94 #endif // ENABLE(SVG)
93 #endif 95 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698