| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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 #include "core/css/CSSContentDistributionValue.h" | 5 #include "core/css/CSSContentDistributionValue.h" |
| 6 | 6 |
| 7 #include "core/css/CSSValueList.h" | 7 #include "core/css/CSSValueList.h" |
| 8 #include "wtf/text/StringBuilder.h" | 8 #include "platform/wtf/text/StringBuilder.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 | 11 |
| 12 CSSContentDistributionValue::CSSContentDistributionValue( | 12 CSSContentDistributionValue::CSSContentDistributionValue( |
| 13 CSSValueID distribution, | 13 CSSValueID distribution, |
| 14 CSSValueID position, | 14 CSSValueID position, |
| 15 CSSValueID overflow) | 15 CSSValueID overflow) |
| 16 : CSSValue(kCSSContentDistributionClass), | 16 : CSSValue(kCSSContentDistributionClass), |
| 17 distribution_(distribution), | 17 distribution_(distribution), |
| 18 position_(position), | 18 position_(position), |
| (...skipping 23 matching lines...) Expand all Loading... |
| 42 return list->CustomCSSText(); | 42 return list->CustomCSSText(); |
| 43 } | 43 } |
| 44 | 44 |
| 45 bool CSSContentDistributionValue::Equals( | 45 bool CSSContentDistributionValue::Equals( |
| 46 const CSSContentDistributionValue& other) const { | 46 const CSSContentDistributionValue& other) const { |
| 47 return distribution_ == other.distribution_ && position_ == other.position_ && | 47 return distribution_ == other.distribution_ && position_ == other.position_ && |
| 48 overflow_ == other.overflow_; | 48 overflow_ == other.overflow_; |
| 49 } | 49 } |
| 50 | 50 |
| 51 } // namespace blink | 51 } // namespace blink |
| OLD | NEW |