| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CSSPropertyMarginUtils_h | 5 #ifndef CSSPropertyMarginUtils_h |
| 6 #define CSSPropertyMarginUtils_h | 6 #define CSSPropertyMarginUtils_h |
| 7 | 7 |
| 8 #include "core/css/parser/CSSPropertyParserHelpers.h" | 8 #include "core/css/parser/CSSPropertyParserHelpers.h" |
| 9 #include "wtf/Allocator.h" | 9 #include "platform/wtf/Allocator.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 class CSSPropertyMarginUtils { | 13 class CSSPropertyMarginUtils { |
| 14 STATIC_ONLY(CSSPropertyMarginUtils); | 14 STATIC_ONLY(CSSPropertyMarginUtils); |
| 15 | 15 |
| 16 static CSSValue* ConsumeMarginOrOffset( | 16 static CSSValue* ConsumeMarginOrOffset( |
| 17 CSSParserTokenRange&, | 17 CSSParserTokenRange&, |
| 18 CSSParserMode, | 18 CSSParserMode, |
| 19 CSSPropertyParserHelpers::UnitlessQuirk); | 19 CSSPropertyParserHelpers::UnitlessQuirk); |
| 20 }; | 20 }; |
| 21 | 21 |
| 22 } // namespace blink | 22 } // namespace blink |
| 23 | 23 |
| 24 #endif // CSSPropertyMarginUtils_h | 24 #endif // CSSPropertyMarginUtils_h |
| OLD | NEW |