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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « cc/animation/layer_tree_mutation.h ('k') | cc/blink/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_ANIMATION_MUTABLE_PROPERTIES_H_ 5 #ifndef CC_ANIMATION_MUTABLE_PROPERTIES_H_
6 #define CC_ANIMATION_MUTABLE_PROPERTIES_H_ 6 #define CC_ANIMATION_MUTABLE_PROPERTIES_H_
7 7
8 #include <stdint.h>
9
8 namespace cc { 10 namespace cc {
9 11
10 enum MutableProperty { 12 struct MutableProperty {
11 kMutablePropertyNone = 0, 13 enum : uint32_t { kNone = 0 };
12 kMutablePropertyOpacity = 1 << 0, 14 enum : uint32_t { kOpacity = 1 << 0 };
13 kMutablePropertyScrollLeft = 1 << 1, 15 enum : uint32_t { kScrollLeft = 1 << 1 };
14 kMutablePropertyScrollTop = 1 << 2, 16 enum : uint32_t { kScrollTop = 1 << 2 };
15 kMutablePropertyTransform = 1 << 3, 17 enum : uint32_t { kTransform = 1 << 3 };
18
19 enum : int { kNumProperties = 4 };
16 }; 20 };
17 21
18 } // namespace cc 22 } // namespace cc
19 23
20 #endif // CC_ANIMATION_MUTABLE_PROPERTIES_H_ 24 #endif // CC_ANIMATION_MUTABLE_PROPERTIES_H_
OLDNEW
« 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