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

Unified Diff: cc/animation/target_property.h

Issue 2502663003: CC Animation: Move PropertyAnimationState and TargetProperty to trees. (Closed)
Patch Set: Created 4 years, 1 month 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/property_animation_state.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
deleted file mode 100644
index 632e826a00ca66a2bd81c14d7259c916850c50e3..0000000000000000000000000000000000000000
--- a/cc/animation/target_property.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// 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_
-
-#include <bitset>
-
-namespace cc {
-
-namespace TargetProperty {
-
-enum Type {
- TRANSFORM = 0,
- OPACITY,
- FILTER,
- SCROLL_OFFSET,
- BACKGROUND_COLOR,
- // These sentinels must be last
- FIRST_TARGET_PROPERTY = TRANSFORM,
- LAST_TARGET_PROPERTY = BACKGROUND_COLOR
-};
-
-const char* GetName(TargetProperty::Type property);
-
-} // namespace TargetProperty
-
-// A set of target properties. TargetProperty must be 0-based enum.
-using TargetProperties = std::bitset<TargetProperty::LAST_TARGET_PROPERTY + 1>;
-
-} // namespace cc
-
-#endif // CC_ANIMATION_TARGET_PROPERTY_H_
« no previous file with comments | « cc/animation/property_animation_state.cc ('k') | cc/animation/target_property.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698