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

Side by Side Diff: Source/core/svg/SVGImageElement.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, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 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 25 matching lines...) Expand all
36 36
37 class SVGImageElement : public SVGStyledTransformableElement, 37 class SVGImageElement : public SVGStyledTransformableElement,
38 public SVGTests, 38 public SVGTests,
39 public SVGLangSpace, 39 public SVGLangSpace,
40 public SVGExternalResourcesRequired, 40 public SVGExternalResourcesRequired,
41 public SVGURIReference { 41 public SVGURIReference {
42 DEFINE_SELF_HANDLE(SVGImageElement) 42 DEFINE_SELF_HANDLE(SVGImageElement)
43 public: 43 public:
44 static PassRefPtr<SVGImageElement> create(const QualifiedName&, const Handle <Document>&); 44 static PassRefPtr<SVGImageElement> create(const QualifiedName&, const Handle <Document>&);
45 45
46 virtual void accept(Visitor* visitor) const OVERRIDE { SVGStyledTransformabl eElement::accept(visitor); }
47
46 private: 48 private:
47 SVGImageElement(const QualifiedName&, const Handle<Document>&); 49 SVGImageElement(const QualifiedName&, const Handle<Document>&);
48 50
49 virtual bool isValid() const { return SVGTests::isValid(); } 51 virtual bool isValid() const { return SVGTests::isValid(); }
50 virtual bool supportsFocus() const { return true; } 52 virtual bool supportsFocus() const { return true; }
51 53
52 bool isSupportedAttribute(const QualifiedName&); 54 bool isSupportedAttribute(const QualifiedName&);
53 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 55 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
54 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; 56 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE;
55 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, const Handle<MutableStylePropertySet>&) OVERRIDE; 57 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, const Handle<MutableStylePropertySet>&) OVERRIDE;
(...skipping 27 matching lines...) Expand all
83 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired Extensions(this); } 85 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired Extensions(this); }
84 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua ge(this); } 86 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua ge(this); }
85 87
86 SVGImageLoader m_imageLoader; 88 SVGImageLoader m_imageLoader;
87 }; 89 };
88 90
89 } // namespace WebCore 91 } // namespace WebCore
90 92
91 #endif // ENABLE(SVG) 93 #endif // ENABLE(SVG)
92 #endif 94 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698