Chromium Code Reviews| Index: third_party/WebKit/Source/core/animation/SizeListPropertyFunctions.h |
| diff --git a/third_party/WebKit/Source/core/animation/SizeListPropertyFunctions.h b/third_party/WebKit/Source/core/animation/SizeListPropertyFunctions.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..08b4432cc9bb5d27ea95d8c4b96e25c0144e31f2 |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/core/animation/SizeListPropertyFunctions.h |
| @@ -0,0 +1,28 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef SizeListPropertyFunctions_h |
| +#define SizeListPropertyFunctions_h |
| + |
| +#include "core/CSSPropertyNames.h" |
| +#include "core/style/FillLayer.h" |
| +#include "wtf/Vector.h" |
| + |
| +namespace blink { |
| + |
| +class ComputedStyle; |
| + |
| +using SizeList = Vector<FillSize, 1>; |
|
suzyh_UTC10 (ex-contributor)
2016/08/26 04:14:34
"using" statements are discouraged in header files
alancutter (OOO until 2018)
2016/08/26 13:31:48
I think that's referring to the other form of "usi
suzyh_UTC10 (ex-contributor)
2016/08/30 08:01:07
Oh, right. I missed that distinction. All good, th
|
| + |
| +class SizeListPropertyFunctions { |
| + STATIC_ONLY(SizeListPropertyFunctions); |
| +public: |
| + static SizeList getInitialSizeList(CSSPropertyID); |
| + static SizeList getSizeList(CSSPropertyID, const ComputedStyle&); |
| + static void setSizeList(CSSPropertyID, ComputedStyle&, SizeList&); |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // SizeListPropertyFunctions_h |