| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CSSPathValue_h | 5 #ifndef CSSPathValue_h |
| 6 #define CSSPathValue_h | 6 #define CSSPathValue_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "core/css/CSSValue.h" | 9 #include "core/css/CSSValue.h" |
| 9 #include "core/style/StylePath.h" | 10 #include "core/style/StylePath.h" |
| 10 #include "core/svg/SVGPathByteStream.h" | 11 #include "core/svg/SVGPathByteStream.h" |
| 11 #include "wtf/PassRefPtr.h" | 12 #include "wtf/PassRefPtr.h" |
| 12 #include "wtf/RefPtr.h" | 13 #include "wtf/RefPtr.h" |
| 13 #include <memory> | |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class StylePath; | 17 class StylePath; |
| 18 | 18 |
| 19 class CSSPathValue : public CSSValue { | 19 class CSSPathValue : public CSSValue { |
| 20 public: | 20 public: |
| 21 static CSSPathValue* create(PassRefPtr<StylePath>); | 21 static CSSPathValue* create(PassRefPtr<StylePath>); |
| 22 static CSSPathValue* create(std::unique_ptr<SVGPathByteStream>); | 22 static CSSPathValue* create(std::unique_ptr<SVGPathByteStream>); |
| 23 | 23 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 38 CSSPathValue(PassRefPtr<StylePath>); | 38 CSSPathValue(PassRefPtr<StylePath>); |
| 39 | 39 |
| 40 RefPtr<StylePath> m_stylePath; | 40 RefPtr<StylePath> m_stylePath; |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 DEFINE_CSS_VALUE_TYPE_CASTS(CSSPathValue, isPathValue()); | 43 DEFINE_CSS_VALUE_TYPE_CASTS(CSSPathValue, isPathValue()); |
| 44 | 44 |
| 45 } // namespace blink | 45 } // namespace blink |
| 46 | 46 |
| 47 #endif // CSSPathValue_h | 47 #endif // CSSPathValue_h |
| OLD | NEW |