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

Side by Side Diff: cc/animation/mutable_properties.h

Issue 1625473002: compositor-worker: blink->cc plumbing Base URL: https://chromium.googlesource.com/chromium/src.git@upstream-compositor-worker
Patch Set: Merge with landing of https://codereview.chromium.org/1599673002/ on master 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_mutator.h ('k') | cc/cc.gyp » ('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> 8 #include <stdint.h>
9 9
10 namespace cc { 10 namespace cc {
11 11
12 struct MutableProperty { 12 struct MutableProperty {
13 enum : uint32_t { kNone = 0 }; 13 enum : uint32_t { kNone = 0 };
14 enum : uint32_t { kOpacity = 1 << 0 }; 14 enum : uint32_t { kOpacity = 1 << 0 };
15 enum : uint32_t { kScrollLeft = 1 << 1 }; 15 enum : uint32_t { kScrollLeft = 1 << 1 };
16 enum : uint32_t { kScrollTop = 1 << 2 }; 16 enum : uint32_t { kScrollTop = 1 << 2 };
17 enum : uint32_t { kTransform = 1 << 3 }; 17 enum : uint32_t { kTransform = 1 << 3 };
18 enum : uint32_t { kTransformRelated = kTransform | kScrollLeft | kScrollTop };
18 19
19 enum : int { kNumProperties = 4 }; 20 enum : int { kNumProperties = 4 };
20 }; 21 };
21 22
22 } // namespace cc 23 } // namespace cc
23 24
24 #endif // CC_ANIMATION_MUTABLE_PROPERTIES_H_ 25 #endif // CC_ANIMATION_MUTABLE_PROPERTIES_H_
OLDNEW
« no previous file with comments | « cc/animation/layer_tree_mutator.h ('k') | cc/cc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698