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

Unified Diff: cc/animation/mutable_properties.h

Issue 1599673002: compositor-worker: Remove code from cc_blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix blink_platform_unittests Created 4 years, 11 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_tree_mutation.h ('k') | cc/blink/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/mutable_properties.h
diff --git a/cc/animation/mutable_properties.h b/cc/animation/mutable_properties.h
index dfe06b69452228506e940112a5217fe879c164a5..daec22566b9808a6e7f63e5a80d9da73be61cd27 100644
--- a/cc/animation/mutable_properties.h
+++ b/cc/animation/mutable_properties.h
@@ -5,14 +5,18 @@
#ifndef CC_ANIMATION_MUTABLE_PROPERTIES_H_
#define CC_ANIMATION_MUTABLE_PROPERTIES_H_
+#include <stdint.h>
+
namespace cc {
-enum MutableProperty {
- kMutablePropertyNone = 0,
- kMutablePropertyOpacity = 1 << 0,
- kMutablePropertyScrollLeft = 1 << 1,
- kMutablePropertyScrollTop = 1 << 2,
- kMutablePropertyTransform = 1 << 3,
+struct MutableProperty {
+ enum : uint32_t { kNone = 0 };
+ enum : uint32_t { kOpacity = 1 << 0 };
+ enum : uint32_t { kScrollLeft = 1 << 1 };
+ enum : uint32_t { kScrollTop = 1 << 2 };
+ enum : uint32_t { kTransform = 1 << 3 };
+
+ enum : int { kNumProperties = 4 };
};
} // namespace cc
« no previous file with comments | « cc/animation/layer_tree_mutation.h ('k') | cc/blink/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698