| 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 13 matching lines...) Expand all Loading... |
| 24 #ifndef LayoutSVGResourceFilter_h | 24 #ifndef LayoutSVGResourceFilter_h |
| 25 #define LayoutSVGResourceFilter_h | 25 #define LayoutSVGResourceFilter_h |
| 26 | 26 |
| 27 #include "core/layout/svg/LayoutSVGResourceContainer.h" | 27 #include "core/layout/svg/LayoutSVGResourceContainer.h" |
| 28 #include "core/svg/SVGFilterElement.h" | 28 #include "core/svg/SVGFilterElement.h" |
| 29 #include "core/svg/graphics/filters/SVGFilterBuilder.h" | 29 #include "core/svg/graphics/filters/SVGFilterBuilder.h" |
| 30 #include "platform/graphics/filters/Filter.h" | 30 #include "platform/graphics/filters/Filter.h" |
| 31 | 31 |
| 32 namespace blink { | 32 namespace blink { |
| 33 | 33 |
| 34 class FilterData final : public GarbageCollected<FilterData> { | 34 class FilterData final : public GarbageCollectedFinalized<FilterData> { |
| 35 public: | 35 public: |
| 36 /* | 36 /* |
| 37 * The state transitions should follow the following: | 37 * The state transitions should follow the following: |
| 38 * Initial -> RecordingContent -> ReadyToPaint -> PaintingFilter -> ReadyToP
aint | 38 * Initial -> RecordingContent -> ReadyToPaint -> PaintingFilter -> ReadyToP
aint |
| 39 * | ^ | ^ | 39 * | ^ | ^ |
| 40 * v | v | | 40 * v | v | |
| 41 * RecordingContentCycleDetected PaintingFilterCycle | 41 * RecordingContentCycleDetected PaintingFilterCycle |
| 42 */ | 42 */ |
| 43 enum FilterDataState { | 43 enum FilterDataState { |
| 44 Initial, | 44 Initial, |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 | 100 |
| 101 using FilterMap = PersistentHeapHashMap<LayoutObject*, Member<FilterData>>; | 101 using FilterMap = PersistentHeapHashMap<LayoutObject*, Member<FilterData>>; |
| 102 FilterMap m_filter; | 102 FilterMap m_filter; |
| 103 }; | 103 }; |
| 104 | 104 |
| 105 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGResourceFilter, isSVGResourceFilter()); | 105 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGResourceFilter, isSVGResourceFilter()); |
| 106 | 106 |
| 107 } // namespace blink | 107 } // namespace blink |
| 108 | 108 |
| 109 #endif | 109 #endif |
| OLD | NEW |