| OLD | NEW |
| 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 Loading... |
| 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/SVGExternalResourcesRequired.h" | 31 #include "core/svg/SVGExternalResourcesRequired.h" |
| 32 #include "core/svg/SVGLangSpace.h" | |
| 33 #include "core/svg/SVGStyledElement.h" | 32 #include "core/svg/SVGStyledElement.h" |
| 34 #include "core/svg/SVGURIReference.h" | 33 #include "core/svg/SVGURIReference.h" |
| 35 #include "core/svg/SVGUnitTypes.h" | 34 #include "core/svg/SVGUnitTypes.h" |
| 36 | 35 |
| 37 namespace WebCore { | 36 namespace WebCore { |
| 38 | 37 |
| 39 class SVGFilterElement FINAL : public SVGStyledElement, | 38 class SVGFilterElement FINAL : public SVGStyledElement, |
| 40 public SVGURIReference, | 39 public SVGURIReference, |
| 41 public SVGLangSpace, | |
| 42 public SVGExternalResourcesRequired { | 40 public SVGExternalResourcesRequired { |
| 43 public: | 41 public: |
| 44 static PassRefPtr<SVGFilterElement> create(const QualifiedName&, Document*); | 42 static PassRefPtr<SVGFilterElement> create(const QualifiedName&, Document*); |
| 45 | 43 |
| 46 void setFilterRes(unsigned filterResX, unsigned filterResY); | 44 void setFilterRes(unsigned filterResX, unsigned filterResY); |
| 47 | 45 |
| 48 private: | 46 private: |
| 49 SVGFilterElement(const QualifiedName&, Document*); | 47 SVGFilterElement(const QualifiedName&, Document*); |
| 50 | 48 |
| 51 virtual bool needsPendingResourceHandling() const { return false; } | 49 virtual bool needsPendingResourceHandling() const { return false; } |
| (...skipping 27 matching lines...) Expand all Loading... |
| 79 | 77 |
| 80 inline SVGFilterElement* toSVGFilterElement(SVGElement* element) | 78 inline SVGFilterElement* toSVGFilterElement(SVGElement* element) |
| 81 { | 79 { |
| 82 ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::f
ilterTag)); | 80 ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::f
ilterTag)); |
| 83 return static_cast<SVGFilterElement*>(element); | 81 return static_cast<SVGFilterElement*>(element); |
| 84 } | 82 } |
| 85 | 83 |
| 86 } | 84 } |
| 87 | 85 |
| 88 #endif | 86 #endif |
| OLD | NEW |