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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/CompositorMutableProperties.h

Issue 1599673002: compositor-worker: Remove code from cc_blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Switch to HashMap. 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
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CompositorMutableProperties_h
6 #define CompositorMutableProperties_h
7
8 namespace blink {
9
10 // TODO(vollick): we should not need a parallel enum. This must be kept in sync
11 // with the cc::MutableProperty enum. Once we build property trees in blink, the
12 // compositor does not need to know about these mutable properties and the
13 // compositor-side enumeration can be removed.
14 enum CompositorMutableProperty {
esprehn 2016/01/21 20:05:25 Talk to Dana about how to remove this she removed
Ian Vollick 2016/01/21 20:08:37 Sounds good. I'll ask her.
danakj 2016/01/21 20:54:26 First, bitmask flags aren't enums (a set of things
15 CompositorMutablePropertyNone = 0,
16 CompositorMutablePropertyOpacity = 1 << 0,
17 CompositorMutablePropertyScrollLeft = 1 << 1,
18 CompositorMutablePropertyScrollTop = 1 << 2,
19 CompositorMutablePropertyTransform = 1 << 3,
20 };
21
22 const int kNumCompositorMutableProperties = 4;
danakj 2016/01/21 20:54:26 Don't use storage for constants in header files. h
23
24 } // namespace blink
25
26 #endif // CompositorMutableProperties_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698