OLD | NEW |
---|---|
(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 SizeListPropertyFunctions_h | |
6 #define SizeListPropertyFunctions_h | |
7 | |
8 #include "core/CSSPropertyNames.h" | |
9 #include "core/style/FillLayer.h" | |
10 #include "wtf/Vector.h" | |
11 | |
12 namespace blink { | |
13 | |
14 class ComputedStyle; | |
15 | |
16 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
| |
17 | |
18 class SizeListPropertyFunctions { | |
19 STATIC_ONLY(SizeListPropertyFunctions); | |
20 public: | |
21 static SizeList getInitialSizeList(CSSPropertyID); | |
22 static SizeList getSizeList(CSSPropertyID, const ComputedStyle&); | |
23 static void setSizeList(CSSPropertyID, ComputedStyle&, SizeList&); | |
24 }; | |
25 | |
26 } // namespace blink | |
27 | |
28 #endif // SizeListPropertyFunctions_h | |
OLD | NEW |