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

Unified Diff: third_party/WebKit/Source/core/style/StyleOffsetRotation.h

Issue 2241993002: CSS Motion Path: New names for properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 3 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
Index: third_party/WebKit/Source/core/style/StyleOffsetRotation.h
diff --git a/third_party/WebKit/Source/core/style/StyleMotionRotation.h b/third_party/WebKit/Source/core/style/StyleOffsetRotation.h
similarity index 56%
rename from third_party/WebKit/Source/core/style/StyleMotionRotation.h
rename to third_party/WebKit/Source/core/style/StyleOffsetRotation.h
index 4f256fdf46a05893a8e1df6d2782a6379fc691c6..a8870ea09629c5102a9c69cac2f046ef3e62edfa 100644
--- a/third_party/WebKit/Source/core/style/StyleMotionRotation.h
+++ b/third_party/WebKit/Source/core/style/StyleOffsetRotation.h
@@ -2,30 +2,30 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef StyleMotionRotation_h
-#define StyleMotionRotation_h
+#ifndef StyleOffsetRotation_h
+#define StyleOffsetRotation_h
#include "core/style/ComputedStyleConstants.h"
namespace blink {
-struct StyleMotionRotation {
- StyleMotionRotation(float angle, MotionRotationType type)
+struct StyleOffsetRotation {
+ StyleOffsetRotation(float angle, OffsetRotationType type)
: angle(angle)
, type(type)
{ }
- bool operator==(const StyleMotionRotation& other) const
+ bool operator==(const StyleOffsetRotation& other) const
{
return angle == other.angle
&& type == other.type;
}
- bool operator!=(const StyleMotionRotation& other) const { return !(*this == other); }
+ bool operator!=(const StyleOffsetRotation& other) const { return !(*this == other); }
float angle;
- MotionRotationType type;
+ OffsetRotationType type;
};
} // namespace blink
-#endif // StyleMotionRotation_h
+#endif // StyleOffsetRotation_h

Powered by Google App Engine
This is Rietveld 408576698