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>; |
| 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&, const SizeList&); |
| 24 }; |
| 25 |
| 26 } // namespace blink |
| 27 |
| 28 #endif // SizeListPropertyFunctions_h |
OLD | NEW |