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 PathStyleMotionPath_h | 5 #ifndef PathStyleMotionPath_h |
6 #define PathStyleMotionPath_h | 6 #define PathStyleMotionPath_h |
7 | 7 |
8 #include "core/layout/style/StyleMotionPath.h" | 8 #include "core/style/StyleMotionPath.h" |
9 | 9 |
10 #include "platform/graphics/Path.h" | 10 #include "platform/graphics/Path.h" |
11 #include "wtf/Assertions.h" | 11 #include "wtf/Assertions.h" |
12 #include "wtf/text/WTFString.h" | 12 #include "wtf/text/WTFString.h" |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 | 15 |
16 class PathStyleMotionPath : public StyleMotionPath { | 16 class PathStyleMotionPath : public StyleMotionPath { |
17 public: | 17 public: |
18 static PassRefPtr<PathStyleMotionPath> create(const String& pathString) | 18 static PassRefPtr<PathStyleMotionPath> create(const String& pathString) |
(...skipping 22 matching lines...) Expand all Loading... |
41 String m_pathString; | 41 String m_pathString; |
42 Path m_path; | 42 Path m_path; |
43 float m_length; | 43 float m_length; |
44 }; | 44 }; |
45 | 45 |
46 DEFINE_TYPE_CASTS(PathStyleMotionPath, StyleMotionPath, value, value->isPathStyl
eMotionPath(), value.isPathStyleMotionPath()); | 46 DEFINE_TYPE_CASTS(PathStyleMotionPath, StyleMotionPath, value, value->isPathStyl
eMotionPath(), value.isPathStyleMotionPath()); |
47 | 47 |
48 } // namespace blink | 48 } // namespace blink |
49 | 49 |
50 #endif // PathStyleMotionPath_h | 50 #endif // PathStyleMotionPath_h |
OLD | NEW |