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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 } | 58 } |
59 | 59 |
60 void dispose(); | 60 void dispose(); |
61 | 61 |
62 DECLARE_TRACE(); | 62 DECLARE_TRACE(); |
63 | 63 |
64 RefPtrWillBeMember<SVGFilter> filter; | 64 RefPtrWillBeMember<SVGFilter> filter; |
65 RefPtrWillBeMember<SVGFilterBuilder> builder; | 65 RefPtrWillBeMember<SVGFilterBuilder> builder; |
66 OwnPtr<DisplayItemList> m_displayItemList; | 66 OwnPtr<DisplayItemList> m_displayItemList; |
67 OwnPtr<GraphicsContext> m_context; | 67 OwnPtr<GraphicsContext> m_context; |
68 FloatRect boundaries; | |
69 FilterDataState m_state; | 68 FilterDataState m_state; |
70 | 69 |
71 private: | 70 private: |
72 FilterData() : m_state(Initial) { } | 71 FilterData() : m_state(Initial) { } |
73 }; | 72 }; |
74 | 73 |
75 class LayoutSVGResourceFilter final : public LayoutSVGResourceContainer { | 74 class LayoutSVGResourceFilter final : public LayoutSVGResourceContainer { |
76 public: | 75 public: |
77 explicit LayoutSVGResourceFilter(SVGFilterElement*); | 76 explicit LayoutSVGResourceFilter(SVGFilterElement*); |
78 | 77 |
(...skipping 28 matching lines...) Expand all Loading... |
107 | 106 |
108 using FilterMap = WillBePersistentHeapHashMap<LayoutObject*, OwnPtrWillBeMem
ber<FilterData>>; | 107 using FilterMap = WillBePersistentHeapHashMap<LayoutObject*, OwnPtrWillBeMem
ber<FilterData>>; |
109 FilterMap m_filter; | 108 FilterMap m_filter; |
110 }; | 109 }; |
111 | 110 |
112 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGResourceFilter, isSVGResourceFilter()); | 111 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGResourceFilter, isSVGResourceFilter()); |
113 | 112 |
114 } | 113 } |
115 | 114 |
116 #endif | 115 #endif |
OLD | NEW |