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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 76 |
77 CSSValue* value() const { return m_value.get(); } | 77 CSSValue* value() const { return m_value.get(); } |
78 | 78 |
79 void wrapValueInCommaSeparatedList(); | 79 void wrapValueInCommaSeparatedList(); |
80 | 80 |
81 static CSSPropertyID resolveDirectionAwareProperty(CSSPropertyID, TextDirect
ion, WritingMode); | 81 static CSSPropertyID resolveDirectionAwareProperty(CSSPropertyID, TextDirect
ion, WritingMode); |
82 static bool isAffectedByAllProperty(CSSPropertyID); | 82 static bool isAffectedByAllProperty(CSSPropertyID); |
83 | 83 |
84 const StylePropertyMetadata& metadata() const { return m_metadata; } | 84 const StylePropertyMetadata& metadata() const { return m_metadata; } |
85 | 85 |
86 void trace(Visitor* visitor) { visitor->trace(m_value); } | 86 DEFINE_INLINE_TRACE() { visitor->trace(m_value); } |
87 | 87 |
88 private: | 88 private: |
89 StylePropertyMetadata m_metadata; | 89 StylePropertyMetadata m_metadata; |
90 RefPtrWillBeMember<CSSValue> m_value; | 90 RefPtrWillBeMember<CSSValue> m_value; |
91 }; | 91 }; |
92 | 92 |
93 inline CSSPropertyID prefixingVariantForPropertyId(CSSPropertyID propId) | 93 inline CSSPropertyID prefixingVariantForPropertyId(CSSPropertyID propId) |
94 { | 94 { |
95 if (RuntimeEnabledFeatures::cssAnimationUnprefixedEnabled()) { | 95 if (RuntimeEnabledFeatures::cssAnimationUnprefixedEnabled()) { |
96 switch (propId) { | 96 switch (propId) { |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 default: | 159 default: |
160 return propId; | 160 return propId; |
161 } | 161 } |
162 } | 162 } |
163 | 163 |
164 } // namespace blink | 164 } // namespace blink |
165 | 165 |
166 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::CSSProperty); | 166 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::CSSProperty); |
167 | 167 |
168 #endif // CSSProperty_h | 168 #endif // CSSProperty_h |
OLD | NEW |