| 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 #ifndef CSSContentDistributionValue_h | 5 #ifndef CSSContentDistributionValue_h |
| 6 #define CSSContentDistributionValue_h | 6 #define CSSContentDistributionValue_h |
| 7 | 7 |
| 8 #include "core/css/CSSIdentifierValue.h" | 8 #include "core/css/CSSIdentifierValue.h" |
| 9 #include "core/css/CSSValue.h" | 9 #include "core/css/CSSValue.h" |
| 10 #include "core/css/CSSValuePair.h" |
| 10 #include "wtf/RefPtr.h" | 11 #include "wtf/RefPtr.h" |
| 11 | 12 |
| 12 namespace blink { | 13 namespace blink { |
| 13 | 14 |
| 14 class CSSContentDistributionValue : public CSSValue { | 15 class CSSContentDistributionValue : public CSSValue { |
| 15 public: | 16 public: |
| 16 static CSSContentDistributionValue* create(CSSValueID distribution, | 17 static CSSContentDistributionValue* create(CSSValueID distribution, |
| 17 CSSValueID position, | 18 CSSValueID position, |
| 18 CSSValueID overflow) { | 19 CSSValueID overflow) { |
| 19 return new CSSContentDistributionValue(distribution, position, overflow); | 20 return new CSSContentDistributionValue(distribution, position, overflow); |
| (...skipping 30 matching lines...) Expand all Loading... |
| 50 CSSValueID m_position; | 51 CSSValueID m_position; |
| 51 CSSValueID m_overflow; | 52 CSSValueID m_overflow; |
| 52 }; | 53 }; |
| 53 | 54 |
| 54 DEFINE_CSS_VALUE_TYPE_CASTS(CSSContentDistributionValue, | 55 DEFINE_CSS_VALUE_TYPE_CASTS(CSSContentDistributionValue, |
| 55 isContentDistributionValue()); | 56 isContentDistributionValue()); |
| 56 | 57 |
| 57 } // namespace blink | 58 } // namespace blink |
| 58 | 59 |
| 59 #endif // CSSContentDistributionValue_h | 60 #endif // CSSContentDistributionValue_h |
| OLD | NEW |