| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. | 3 * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 CSSValue* value() const { return m_value.get(); } | 76 CSSValue* value() const { return m_value.get(); } |
| 77 | 77 |
| 78 void wrapValueInCommaSeparatedList(); | 78 void wrapValueInCommaSeparatedList(); |
| 79 | 79 |
| 80 static CSSPropertyID resolveDirectionAwareProperty(CSSPropertyID, TextDirect
ion); | 80 static CSSPropertyID resolveDirectionAwareProperty(CSSPropertyID, TextDirect
ion); |
| 81 static bool isAffectedByAllProperty(CSSPropertyID); | 81 static bool isAffectedByAllProperty(CSSPropertyID); |
| 82 | 82 |
| 83 const StylePropertyMetadata& metadata() const { return m_metadata; } | 83 const StylePropertyMetadata& metadata() const { return m_metadata; } |
| 84 | 84 |
| 85 void trace(Visitor* visitor) { visitor->trace(m_value); } | |
| 86 | |
| 87 private: | 85 private: |
| 88 StylePropertyMetadata m_metadata; | 86 StylePropertyMetadata m_metadata; |
| 89 RefPtr<CSSValue> m_value; | 87 RefPtr<CSSValue> m_value; |
| 90 }; | 88 }; |
| 91 | 89 |
| 92 inline CSSPropertyID prefixingVariantForPropertyId(CSSPropertyID propId) | 90 inline CSSPropertyID prefixingVariantForPropertyId(CSSPropertyID propId) |
| 93 { | 91 { |
| 94 if (RuntimeEnabledFeatures::cssAnimationUnprefixedEnabled()) { | 92 if (RuntimeEnabledFeatures::cssAnimationUnprefixedEnabled()) { |
| 95 switch (propId) { | 93 switch (propId) { |
| 96 case CSSPropertyAnimation: | 94 case CSSPropertyAnimation: |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 default: | 156 default: |
| 159 return propId; | 157 return propId; |
| 160 } | 158 } |
| 161 } | 159 } |
| 162 | 160 |
| 163 } // namespace blink | 161 } // namespace blink |
| 164 | 162 |
| 165 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::CSSProperty); | 163 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::CSSProperty); |
| 166 | 164 |
| 167 #endif // CSSProperty_h | 165 #endif // CSSProperty_h |
| OLD | NEW |