| 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 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> |
| 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> | 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
| 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 FloatRect boundaries; | 50 FloatRect boundaries; |
| 51 FloatRect drawingRegion; | 51 FloatRect drawingRegion; |
| 52 FloatSize scale; | 52 FloatSize scale; |
| 53 FilterDataState state; | 53 FilterDataState state; |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 class GraphicsContext; | 56 class GraphicsContext; |
| 57 | 57 |
| 58 class RenderSVGResourceFilter FINAL : public RenderSVGResourceContainer { | 58 class RenderSVGResourceFilter FINAL : public RenderSVGResourceContainer { |
| 59 public: | 59 public: |
| 60 RenderSVGResourceFilter(SVGFilterElement*); | 60 explicit RenderSVGResourceFilter(SVGFilterElement*); |
| 61 virtual ~RenderSVGResourceFilter(); | 61 virtual ~RenderSVGResourceFilter(); |
| 62 | 62 |
| 63 virtual const char* renderName() const { return "RenderSVGResourceFilter"; } | 63 virtual const char* renderName() const { return "RenderSVGResourceFilter"; } |
| 64 virtual bool isSVGResourceFilter() const OVERRIDE { return true; } | 64 virtual bool isSVGResourceFilter() const OVERRIDE { return true; } |
| 65 | 65 |
| 66 virtual void removeAllClientsFromCache(bool markForInvalidation = true); | 66 virtual void removeAllClientsFromCache(bool markForInvalidation = true); |
| 67 virtual void removeClientFromCache(RenderObject*, bool markForInvalidation =
true); | 67 virtual void removeClientFromCache(RenderObject*, bool markForInvalidation =
true); |
| 68 | 68 |
| 69 virtual bool applyResource(RenderObject*, RenderStyle*, GraphicsContext*&, u
nsigned short resourceMode); | 69 virtual bool applyResource(RenderObject*, RenderStyle*, GraphicsContext*&, u
nsigned short resourceMode); |
| 70 virtual void postApplyResource(RenderObject*, GraphicsContext*&, unsigned sh
ort resourceMode, const Path*, const RenderSVGShape*); | 70 virtual void postApplyResource(RenderObject*, GraphicsContext*&, unsigned sh
ort resourceMode, const Path*, const RenderSVGShape*); |
| (...skipping 25 matching lines...) Expand all Loading... |
| 96 | 96 |
| 97 inline RenderSVGResourceFilter* toRenderSVGResourceFilter(RenderSVGResourceConta
iner* resource) | 97 inline RenderSVGResourceFilter* toRenderSVGResourceFilter(RenderSVGResourceConta
iner* resource) |
| 98 { | 98 { |
| 99 ASSERT_WITH_SECURITY_IMPLICATION(!resource || resource->resourceType() == Fi
lterResourceType); | 99 ASSERT_WITH_SECURITY_IMPLICATION(!resource || resource->resourceType() == Fi
lterResourceType); |
| 100 return static_cast<RenderSVGResourceFilter*>(resource); | 100 return static_cast<RenderSVGResourceFilter*>(resource); |
| 101 } | 101 } |
| 102 | 102 |
| 103 } | 103 } |
| 104 | 104 |
| 105 #endif | 105 #endif |
| OLD | NEW |