| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 FilterData() : m_state(Initial) { } | 71 FilterData() : m_state(Initial) { } |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 class LayoutSVGResourceFilter final : public LayoutSVGResourceContainer { | 74 class LayoutSVGResourceFilter final : public LayoutSVGResourceContainer { |
| 75 public: | 75 public: |
| 76 explicit LayoutSVGResourceFilter(SVGFilterElement*); | 76 explicit LayoutSVGResourceFilter(SVGFilterElement*); |
| 77 | 77 |
| 78 virtual ~LayoutSVGResourceFilter(); | 78 virtual ~LayoutSVGResourceFilter(); |
| 79 virtual void destroy() override; | 79 virtual void destroy() override; |
| 80 | 80 |
| 81 virtual bool isChildAllowed(LayoutObject*, const LayoutStyle&) const overrid
e; | 81 virtual bool isChildAllowed(LayoutObject*, const ComputedStyle&) const overr
ide; |
| 82 | 82 |
| 83 virtual const char* name() const override { return "LayoutSVGResourceFilter"
; } | 83 virtual const char* name() const override { return "LayoutSVGResourceFilter"
; } |
| 84 virtual bool isOfType(LayoutObjectType type) const override { return type ==
LayoutObjectSVGResourceFilter || LayoutSVGResourceContainer::isOfType(type); } | 84 virtual bool isOfType(LayoutObjectType type) const override { return type ==
LayoutObjectSVGResourceFilter || LayoutSVGResourceContainer::isOfType(type); } |
| 85 | 85 |
| 86 virtual void removeAllClientsFromCache(bool markForInvalidation = true) over
ride; | 86 virtual void removeAllClientsFromCache(bool markForInvalidation = true) over
ride; |
| 87 virtual void removeClientFromCache(LayoutObject*, bool markForInvalidation =
true) override; | 87 virtual void removeClientFromCache(LayoutObject*, bool markForInvalidation =
true) override; |
| 88 | 88 |
| 89 FloatRect resourceBoundingBox(const LayoutObject*); | 89 FloatRect resourceBoundingBox(const LayoutObject*); |
| 90 | 90 |
| 91 PassRefPtrWillBeRawPtr<SVGFilterBuilder> buildPrimitives(SVGFilter*); | 91 PassRefPtrWillBeRawPtr<SVGFilterBuilder> buildPrimitives(SVGFilter*); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 106 | 106 |
| 107 using FilterMap = WillBePersistentHeapHashMap<LayoutObject*, OwnPtrWillBeMem
ber<FilterData>>; | 107 using FilterMap = WillBePersistentHeapHashMap<LayoutObject*, OwnPtrWillBeMem
ber<FilterData>>; |
| 108 FilterMap m_filter; | 108 FilterMap m_filter; |
| 109 }; | 109 }; |
| 110 | 110 |
| 111 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGResourceFilter, isSVGResourceFilter()); | 111 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGResourceFilter, isSVGResourceFilter()); |
| 112 | 112 |
| 113 } | 113 } |
| 114 | 114 |
| 115 #endif | 115 #endif |
| OLD | NEW |