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

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

Issue 139813003: Move isValid implementations into SVGGraphicsElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | Source/core/svg/SVGCircleElement.h » ('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) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 18 matching lines...) Expand all
29 namespace WebCore { 29 namespace WebCore {
30 30
31 class SVGAElement FINAL : public SVGGraphicsElement, 31 class SVGAElement FINAL : public SVGGraphicsElement,
32 public SVGURIReference { 32 public SVGURIReference {
33 public: 33 public:
34 static PassRefPtr<SVGAElement> create(Document&); 34 static PassRefPtr<SVGAElement> create(Document&);
35 35
36 private: 36 private:
37 explicit SVGAElement(Document&); 37 explicit SVGAElement(Document&);
38 38
39 virtual bool isValid() const OVERRIDE { return SVGTests::isValid(); }
40
41 virtual String title() const OVERRIDE; 39 virtual String title() const OVERRIDE;
42 40
43 bool isSupportedAttribute(const QualifiedName&); 41 bool isSupportedAttribute(const QualifiedName&);
44 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 42 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
45 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; 43 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
46 44
47 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; 45 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
48 46
49 virtual void defaultEventHandler(Event*) OVERRIDE; 47 virtual void defaultEventHandler(Event*) OVERRIDE;
50 48
(...skipping 11 matching lines...) Expand all
62 // This declaration used to define a non-virtual "String& target() const " method, that clashes with "virtual String Element::target() const". 60 // This declaration used to define a non-virtual "String& target() const " method, that clashes with "virtual String Element::target() const".
63 // That's why it has been renamed to "svgTarget", the CodeGenerators tak e care of calling svgTargetAnimated() instead of targetAnimated(), see CodeGener ator.pm. 61 // That's why it has been renamed to "svgTarget", the CodeGenerators tak e care of calling svgTargetAnimated() instead of targetAnimated(), see CodeGener ator.pm.
64 DECLARE_ANIMATED_STRING(SVGTarget, svgTarget) 62 DECLARE_ANIMATED_STRING(SVGTarget, svgTarget)
65 DECLARE_ANIMATED_STRING(Href, href) 63 DECLARE_ANIMATED_STRING(Href, href)
66 END_DECLARE_ANIMATED_PROPERTIES 64 END_DECLARE_ANIMATED_PROPERTIES
67 }; 65 };
68 66
69 } // namespace WebCore 67 } // namespace WebCore
70 68
71 #endif // SVGAElement_h 69 #endif // SVGAElement_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/svg/SVGCircleElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698