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

Side by Side Diff: Source/core/svg/SVGFilterElement.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/SVGFEImageElement.idl ('k') | Source/core/svg/SVGFilterElement.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, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2007 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 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 5 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 11 matching lines...) Expand all
22 22
23 #ifndef SVGFilterElement_h 23 #ifndef SVGFilterElement_h
24 #define SVGFilterElement_h 24 #define SVGFilterElement_h
25 25
26 #include "SVGNames.h" 26 #include "SVGNames.h"
27 #include "core/svg/SVGAnimatedBoolean.h" 27 #include "core/svg/SVGAnimatedBoolean.h"
28 #include "core/svg/SVGAnimatedEnumeration.h" 28 #include "core/svg/SVGAnimatedEnumeration.h"
29 #include "core/svg/SVGAnimatedInteger.h" 29 #include "core/svg/SVGAnimatedInteger.h"
30 #include "core/svg/SVGAnimatedLength.h" 30 #include "core/svg/SVGAnimatedLength.h"
31 #include "core/svg/SVGElement.h" 31 #include "core/svg/SVGElement.h"
32 #include "core/svg/SVGExternalResourcesRequired.h"
33 #include "core/svg/SVGURIReference.h" 32 #include "core/svg/SVGURIReference.h"
34 #include "core/svg/SVGUnitTypes.h" 33 #include "core/svg/SVGUnitTypes.h"
35 34
36 namespace WebCore { 35 namespace WebCore {
37 36
38 class SVGFilterElement FINAL : public SVGElement, 37 class SVGFilterElement FINAL : public SVGElement,
39 public SVGURIReference, 38 public SVGURIReference {
40 public SVGExternalResourcesRequired {
41 public: 39 public:
42 static PassRefPtr<SVGFilterElement> create(Document&); 40 static PassRefPtr<SVGFilterElement> create(Document&);
43 41
44 void setFilterRes(unsigned filterResX, unsigned filterResY); 42 void setFilterRes(unsigned filterResX, unsigned filterResY);
45 void addClient(Node*); 43 void addClient(Node*);
46 void removeClient(Node*); 44 void removeClient(Node*);
47 45
48 private: 46 private:
49 explicit SVGFilterElement(Document&); 47 explicit SVGFilterElement(Document&);
50 48
(...skipping 15 matching lines...) Expand all
66 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFilterElement) 64 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFilterElement)
67 DECLARE_ANIMATED_ENUMERATION(FilterUnits, filterUnits, SVGUnitTypes::SVG UnitType) 65 DECLARE_ANIMATED_ENUMERATION(FilterUnits, filterUnits, SVGUnitTypes::SVG UnitType)
68 DECLARE_ANIMATED_ENUMERATION(PrimitiveUnits, primitiveUnits, SVGUnitType s::SVGUnitType) 66 DECLARE_ANIMATED_ENUMERATION(PrimitiveUnits, primitiveUnits, SVGUnitType s::SVGUnitType)
69 DECLARE_ANIMATED_LENGTH(X, x) 67 DECLARE_ANIMATED_LENGTH(X, x)
70 DECLARE_ANIMATED_LENGTH(Y, y) 68 DECLARE_ANIMATED_LENGTH(Y, y)
71 DECLARE_ANIMATED_LENGTH(Width, width) 69 DECLARE_ANIMATED_LENGTH(Width, width)
72 DECLARE_ANIMATED_LENGTH(Height, height) 70 DECLARE_ANIMATED_LENGTH(Height, height)
73 DECLARE_ANIMATED_INTEGER(FilterResX, filterResX) 71 DECLARE_ANIMATED_INTEGER(FilterResX, filterResX)
74 DECLARE_ANIMATED_INTEGER(FilterResY, filterResY) 72 DECLARE_ANIMATED_INTEGER(FilterResY, filterResY)
75 DECLARE_ANIMATED_STRING(Href, href) 73 DECLARE_ANIMATED_STRING(Href, href)
76 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq uired)
77 END_DECLARE_ANIMATED_PROPERTIES 74 END_DECLARE_ANIMATED_PROPERTIES
78 75
79 HashSet<RefPtr<Node> > m_clientsToAdd; 76 HashSet<RefPtr<Node> > m_clientsToAdd;
80 }; 77 };
81 78
82 DEFINE_NODE_TYPE_CASTS(SVGFilterElement, hasTagName(SVGNames::filterTag)); 79 DEFINE_NODE_TYPE_CASTS(SVGFilterElement, hasTagName(SVGNames::filterTag));
83 80
84 } 81 }
85 82
86 #endif 83 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGFEImageElement.idl ('k') | Source/core/svg/SVGFilterElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698