| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2002, 2003 The Karbon Developers | 2 * Copyright (C) 2002, 2003 The Karbon Developers |
| 3 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> | 3 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> |
| 4 * Copyright (C) 2006, 2007 Rob Buis <buis@kde.org> | 4 * Copyright (C) 2006, 2007 Rob Buis <buis@kde.org> |
| 5 * Copyright (C) 2007, 2009 Apple Inc. All rights reserved. | 5 * Copyright (C) 2007, 2009 Apple Inc. All rights reserved. |
| 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 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 namespace blink { | 31 namespace blink { |
| 32 | 32 |
| 33 class SVGPathElement; | 33 class SVGPathElement; |
| 34 | 34 |
| 35 class SVGPathSegListBuilder final : public SVGPathConsumer { | 35 class SVGPathSegListBuilder final : public SVGPathConsumer { |
| 36 public: | 36 public: |
| 37 SVGPathSegListBuilder(SVGPathElement*, PassRefPtrWillBeRawPtr<SVGPathSegList
>); | 37 SVGPathSegListBuilder(SVGPathElement*, PassRefPtrWillBeRawPtr<SVGPathSegList
>); |
| 38 | 38 |
| 39 private: | 39 private: |
| 40 virtual void incrementPathSegmentCount() override { } | 40 void incrementPathSegmentCount() override { } |
| 41 virtual bool continueConsuming() override { return true; } | 41 bool continueConsuming() override { return true; } |
| 42 | 42 |
| 43 virtual void emitSegment(const PathSegmentData&) override; | 43 void emitSegment(const PathSegmentData&) override; |
| 44 | 44 |
| 45 RawPtrWillBeMember<SVGPathElement> m_pathElement; | 45 RawPtrWillBeMember<SVGPathElement> m_pathElement; |
| 46 RefPtrWillBeMember<SVGPathSegList> m_pathSegList; | 46 RefPtrWillBeMember<SVGPathSegList> m_pathSegList; |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 } // namespace blink | 49 } // namespace blink |
| 50 | 50 |
| 51 #endif // SVGPathSegListBuilder_h | 51 #endif // SVGPathSegListBuilder_h |
| OLD | NEW |