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

Unified Diff: cc/animation/target_property.h

Issue 1700653002: CC Animation: Expose TargetProperty enum to be aliased in Blink Platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 10 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 | « cc/animation/layer_animation_controller_unittest.cc ('k') | cc/animation/target_property.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/target_property.h
diff --git a/cc/animation/target_property.h b/cc/animation/target_property.h
new file mode 100644
index 0000000000000000000000000000000000000000..e4658e15578518991ac5129e26c9c62bd46b1a42
--- /dev/null
+++ b/cc/animation/target_property.h
@@ -0,0 +1,28 @@
+// Copyright (c) 2016 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 CC_ANIMATION_TARGET_PROPERTY_H_
+#define CC_ANIMATION_TARGET_PROPERTY_H_
+
+namespace cc {
+
+namespace TargetProperty {
+
+enum Type {
+ TRANSFORM = 0,
+ OPACITY,
+ FILTER,
+ SCROLL_OFFSET,
+ BACKGROUND_COLOR,
+ // This sentinel must be last.
+ LAST_TARGET_PROPERTY = BACKGROUND_COLOR
+};
+
+const char* GetName(TargetProperty::Type property);
+
+} // namespace TargetProperty
+
+} // namespace cc
+
+#endif // CC_ANIMATION_TARGET_PROPERTY_H_
« no previous file with comments | « cc/animation/layer_animation_controller_unittest.cc ('k') | cc/animation/target_property.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698