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

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

Issue 21498002: Introduce a SVGUnknownElement class for unknown SVG elements (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add comment for SVGUnknownElement Created 7 years, 4 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
« no previous file with comments | « Source/core/svg/SVGComponentTransferFunctionElement.h ('k') | Source/core/svg/SVGElement.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, 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 SVGCursorElement(const QualifiedName&, Document*); 48 SVGCursorElement(const QualifiedName&, Document*);
49 49
50 virtual bool isValid() const { return SVGTests::isValid(); } 50 virtual bool isValid() const { return SVGTests::isValid(); }
51 51
52 bool isSupportedAttribute(const QualifiedName&); 52 bool isSupportedAttribute(const QualifiedName&);
53 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 53 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
54 virtual void svgAttributeChanged(const QualifiedName&); 54 virtual void svgAttributeChanged(const QualifiedName&);
55 55
56 virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const; 56 virtual void addSubresourceAttributeURLs(ListHashSet<KURL>&) const;
57 57
58 virtual bool rendererIsNeeded(const NodeRenderingContext&) OVERRIDE { return false; }
59
58 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGCursorElement) 60 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGCursorElement)
59 DECLARE_ANIMATED_LENGTH(X, x) 61 DECLARE_ANIMATED_LENGTH(X, x)
60 DECLARE_ANIMATED_LENGTH(Y, y) 62 DECLARE_ANIMATED_LENGTH(Y, y)
61 DECLARE_ANIMATED_STRING(Href, href) 63 DECLARE_ANIMATED_STRING(Href, href)
62 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq uired) 64 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq uired)
63 END_DECLARE_ANIMATED_PROPERTIES 65 END_DECLARE_ANIMATED_PROPERTIES
64 66
65 // SVGTests 67 // SVGTests
66 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe atures(this); } 68 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe atures(this); }
67 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired Extensions(this); } 69 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired Extensions(this); }
68 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua ge(this); } 70 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua ge(this); }
69 71
70 HashSet<SVGElement*> m_clients; 72 HashSet<SVGElement*> m_clients;
71 }; 73 };
72 74
73 } // namespace WebCore 75 } // namespace WebCore
74 76
75 #endif 77 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGComponentTransferFunctionElement.h ('k') | Source/core/svg/SVGElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698