Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h |
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h b/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6673ad3d1e8aa7effe80ca7a07217d8c026a42ea |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h |
| @@ -0,0 +1,31 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
|
Xianzhu
2016/06/22 23:20:30
Nit: 2016
wkorman
2016/06/22 23:33:33
2016?
chrishtr
2016/06/23 00:18:27
Done.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef PropertyTreeState_h |
| +#define PropertyTreeState_h |
| + |
| +#include "wtf/HashFunctions.h" |
| +#include "wtf/HashTraits.h" |
| + |
| +namespace blink { |
| + |
| +class TransformPaintPropertyNode; |
| +class ClipPaintPropertyNode; |
| +class EffectPaintPropertyNode; |
| + |
| +struct PropertyTreeState { |
|
wkorman
2016/06/22 23:33:33
Worth adding a brief doc comment even if just noti
chrishtr
2016/06/23 00:18:27
Done.
|
| + PropertyTreeState( |
| + TransformPaintPropertyNode* transformArg, |
|
wkorman
2016/06/22 23:33:33
I think it's ok to name these without 'Arg' and th
chrishtr
2016/06/23 00:18:27
Done.
|
| + ClipPaintPropertyNode* clipArg, |
| + EffectPaintPropertyNode* effectArg) |
| + : transform(transformArg), clip(clipArg), effect(effectArg) {} |
| + |
| + TransformPaintPropertyNode* transform; |
| + ClipPaintPropertyNode* clip; |
| + EffectPaintPropertyNode* effect; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // PropertyTreeState_h |