| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
| 9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
| 10 * disclaimer. | 10 * disclaimer. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF | 25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF |
| 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 27 * SUCH DAMAGE. | 27 * SUCH DAMAGE. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #ifndef PaintLayerResourceInfo_h | 30 #ifndef PaintLayerResourceInfo_h |
| 31 #define PaintLayerResourceInfo_h | 31 #define PaintLayerResourceInfo_h |
| 32 | 32 |
| 33 #include "core/svg/SVGResourceClient.h" | 33 #include "core/svg/SVGResourceClient.h" |
| 34 #include "platform/heap/Handle.h" | 34 #include "platform/heap/Handle.h" |
| 35 #include "wtf/Noncopyable.h" | 35 #include "platform/wtf/Noncopyable.h" |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 class FilterEffect; | 39 class FilterEffect; |
| 40 class PaintLayer; | 40 class PaintLayer; |
| 41 | 41 |
| 42 // PaintLayerResourceInfo holds the filter information for painting | 42 // PaintLayerResourceInfo holds the filter information for painting |
| 43 // https://drafts.fxtf.org/filters/. It also acts as the resource client for | 43 // https://drafts.fxtf.org/filters/. It also acts as the resource client for |
| 44 // change notifications from <clipPath> elements for the clip-path property. | 44 // change notifications from <clipPath> elements for the clip-path property. |
| 45 // | 45 // |
| (...skipping 27 matching lines...) Expand all Loading... |
| 73 | 73 |
| 74 private: | 74 private: |
| 75 // |clearLayer| must be called before *m_layer becomes invalid. | 75 // |clearLayer| must be called before *m_layer becomes invalid. |
| 76 PaintLayer* layer_; | 76 PaintLayer* layer_; |
| 77 Member<FilterEffect> last_effect_; | 77 Member<FilterEffect> last_effect_; |
| 78 }; | 78 }; |
| 79 | 79 |
| 80 } // namespace blink | 80 } // namespace blink |
| 81 | 81 |
| 82 #endif // PaintLayerResourceInfo_h | 82 #endif // PaintLayerResourceInfo_h |
| OLD | NEW |