| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 2 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
| 14 * | 14 * |
| 15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
| 16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
| 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
| 19 */ | 19 */ |
| 20 | 20 |
| 21 #ifndef SVGPathStringSource_h | 21 #ifndef SVGPathStringSource_h |
| 22 #define SVGPathStringSource_h | 22 #define SVGPathStringSource_h |
| 23 | 23 |
| 24 #include "core/svg/SVGPathSource.h" | 24 #include "core/svg/SVGPathSource.h" |
| 25 #include "wtf/PassOwnPtr.h" | |
| 26 #include "wtf/text/WTFString.h" | 25 #include "wtf/text/WTFString.h" |
| 27 | 26 |
| 28 namespace blink { | 27 namespace blink { |
| 29 | 28 |
| 30 class SVGPathStringSource final : public SVGPathSource { | 29 class SVGPathStringSource final : public SVGPathSource { |
| 31 public: | 30 public: |
| 32 explicit SVGPathStringSource(const String&); | 31 explicit SVGPathStringSource(const String&); |
| 33 | 32 |
| 34 private: | 33 private: |
| 35 virtual bool hasMoreData() const override; | 34 virtual bool hasMoreData() const override; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 56 } m_current; | 55 } m_current; |
| 57 union { | 56 union { |
| 58 const LChar* m_character8; | 57 const LChar* m_character8; |
| 59 const UChar* m_character16; | 58 const UChar* m_character16; |
| 60 } m_end; | 59 } m_end; |
| 61 }; | 60 }; |
| 62 | 61 |
| 63 } // namespace blink | 62 } // namespace blink |
| 64 | 63 |
| 65 #endif // SVGPathStringSource_h | 64 #endif // SVGPathStringSource_h |
| OLD | NEW |