| 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/CSSValue.h" | 8 #include "core/css/CSSValue.h" |
| 9 #include "core/css/CSSValuePool.h" | 9 #include "core/css/CSSValuePool.h" |
| 10 #include "wtf/RefPtr.h" | 10 #include "wtf/RefPtr.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> overflow() const { return cssValue
Pool().createIdentifierValue(m_overflow); } | 26 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> overflow() const { return cssValue
Pool().createIdentifierValue(m_overflow); } |
| 27 | 27 |
| 28 String customCSSText() const; | 28 String customCSSText() const; |
| 29 | 29 |
| 30 bool equals(const CSSContentDistributionValue&) const; | 30 bool equals(const CSSContentDistributionValue&) const; |
| 31 | 31 |
| 32 void traceAfterDispatch(Visitor* visitor) { CSSValue::traceAfterDispatch(vis
itor); } | 32 void traceAfterDispatch(Visitor* visitor) { CSSValue::traceAfterDispatch(vis
itor); } |
| 33 | 33 |
| 34 private: | 34 private: |
| 35 explicit CSSContentDistributionValue(CSSValueID distribution, CSSValueID pos
ition, CSSValueID overflow); | 35 CSSContentDistributionValue(CSSValueID distribution, CSSValueID position, CS
SValueID overflow); |
| 36 | 36 |
| 37 CSSValueID m_distribution; | 37 CSSValueID m_distribution; |
| 38 CSSValueID m_position; | 38 CSSValueID m_position; |
| 39 CSSValueID m_overflow; | 39 CSSValueID m_overflow; |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 DEFINE_CSS_VALUE_TYPE_CASTS(CSSContentDistributionValue, isContentDistributionVa
lue()); | 42 DEFINE_CSS_VALUE_TYPE_CASTS(CSSContentDistributionValue, isContentDistributionVa
lue()); |
| 43 | 43 |
| 44 } // namespace blink | 44 } // namespace blink |
| 45 | 45 |
| 46 #endif // CSSContentDistributionValue_h | 46 #endif // CSSContentDistributionValue_h |
| OLD | NEW |