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

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

Issue 62083002: Remove support for the externalResourcesRequired attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebaseline test 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 | « Source/core/svg/SVGClipPathElement.idl ('k') | Source/core/svg/SVGCursorElement.cpp » ('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,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 */ 19 */
20 20
21 #ifndef SVGCursorElement_h 21 #ifndef SVGCursorElement_h
22 #define SVGCursorElement_h 22 #define SVGCursorElement_h
23 23
24 #include "core/svg/SVGAnimatedBoolean.h" 24 #include "core/svg/SVGAnimatedBoolean.h"
25 #include "core/svg/SVGAnimatedLength.h" 25 #include "core/svg/SVGAnimatedLength.h"
26 #include "core/svg/SVGAnimatedString.h" 26 #include "core/svg/SVGAnimatedString.h"
27 #include "core/svg/SVGElement.h" 27 #include "core/svg/SVGElement.h"
28 #include "core/svg/SVGExternalResourcesRequired.h"
29 #include "core/svg/SVGTests.h" 28 #include "core/svg/SVGTests.h"
30 #include "core/svg/SVGURIReference.h" 29 #include "core/svg/SVGURIReference.h"
31 30
32 namespace WebCore { 31 namespace WebCore {
33 32
34 class SVGCursorElement FINAL : public SVGElement, 33 class SVGCursorElement FINAL : public SVGElement,
35 public SVGTests, 34 public SVGTests,
36 public SVGExternalResourcesRequired,
37 public SVGURIReference { 35 public SVGURIReference {
38 public: 36 public:
39 static PassRefPtr<SVGCursorElement> create(Document&); 37 static PassRefPtr<SVGCursorElement> create(Document&);
40 38
41 virtual ~SVGCursorElement(); 39 virtual ~SVGCursorElement();
42 40
43 void addClient(SVGElement*); 41 void addClient(SVGElement*);
44 void removeClient(SVGElement*); 42 void removeClient(SVGElement*);
45 void removeReferencedElement(SVGElement*); 43 void removeReferencedElement(SVGElement*);
46 44
47 private: 45 private:
48 explicit SVGCursorElement(Document&); 46 explicit SVGCursorElement(Document&);
49 47
50 virtual bool isValid() const { return SVGTests::isValid(); } 48 virtual bool isValid() const { return SVGTests::isValid(); }
51 49
52 bool isSupportedAttribute(const QualifiedName&); 50 bool isSupportedAttribute(const QualifiedName&);
53 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 51 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
54 virtual void svgAttributeChanged(const QualifiedName&); 52 virtual void svgAttributeChanged(const QualifiedName&);
55 53
56 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } 54 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; }
57 55
58 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGCursorElement) 56 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGCursorElement)
59 DECLARE_ANIMATED_LENGTH(X, x) 57 DECLARE_ANIMATED_LENGTH(X, x)
60 DECLARE_ANIMATED_LENGTH(Y, y) 58 DECLARE_ANIMATED_LENGTH(Y, y)
61 DECLARE_ANIMATED_STRING(Href, href) 59 DECLARE_ANIMATED_STRING(Href, href)
62 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq uired)
63 END_DECLARE_ANIMATED_PROPERTIES 60 END_DECLARE_ANIMATED_PROPERTIES
64 61
65 // SVGTests 62 // SVGTests
66 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe atures(this); } 63 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe atures(this); }
67 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired Extensions(this); } 64 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired Extensions(this); }
68 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua ge(this); } 65 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua ge(this); }
69 66
70 HashSet<SVGElement*> m_clients; 67 HashSet<SVGElement*> m_clients;
71 }; 68 };
72 69
73 } // namespace WebCore 70 } // namespace WebCore
74 71
75 #endif 72 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGClipPathElement.idl ('k') | Source/core/svg/SVGCursorElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698