Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(681)

Unified Diff: Source/core/layout/style/PathStyleMotionPath.h

Issue 1045723009: Move core/layout/style to core/style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/style/OutlineValueTest.cpp ('k') | Source/core/layout/style/PathStyleMotionPath.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/style/PathStyleMotionPath.h
diff --git a/Source/core/layout/style/PathStyleMotionPath.h b/Source/core/layout/style/PathStyleMotionPath.h
deleted file mode 100644
index 6d509a96250d2cd7ce7b3ade98b19fb35f48d581..0000000000000000000000000000000000000000
--- a/Source/core/layout/style/PathStyleMotionPath.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef PathStyleMotionPath_h
-#define PathStyleMotionPath_h
-
-#include "core/layout/style/StyleMotionPath.h"
-
-#include "platform/graphics/Path.h"
-#include "wtf/Assertions.h"
-#include "wtf/text/WTFString.h"
-
-namespace blink {
-
-class PathStyleMotionPath : public StyleMotionPath {
-public:
- static PassRefPtr<PathStyleMotionPath> create(const String& pathString)
- {
- return adoptRef(new PathStyleMotionPath(pathString));
- }
-
- virtual bool isPathStyleMotionPath() const override { return true; }
-
- bool equals(const PathStyleMotionPath& other) const
- {
- return m_pathString == other.m_pathString;
- }
-
- const Path& path() const { return m_path; }
-
- const String& pathString() const { return m_pathString; }
-
- bool isClosed() const;
-
- float length() const { return m_length; }
-
-private:
- PathStyleMotionPath(const String& pathString);
-
- String m_pathString;
- Path m_path;
- float m_length;
-};
-
-DEFINE_TYPE_CASTS(PathStyleMotionPath, StyleMotionPath, value, value->isPathStyleMotionPath(), value.isPathStyleMotionPath());
-
-} // namespace blink
-
-#endif // PathStyleMotionPath_h
« no previous file with comments | « Source/core/layout/style/OutlineValueTest.cpp ('k') | Source/core/layout/style/PathStyleMotionPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698