| 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, 2008, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved. |
| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 PassRefPtrWillBeRawPtr<MutableStylePropertySet> copyPropertiesInSet(const Ve
ctor<CSSPropertyID>&) const; | 109 PassRefPtrWillBeRawPtr<MutableStylePropertySet> copyPropertiesInSet(const Ve
ctor<CSSPropertyID>&) const; |
| 110 | 110 |
| 111 String asText() const; | 111 String asText() const; |
| 112 | 112 |
| 113 bool isMutable() const { return m_isMutable; } | 113 bool isMutable() const { return m_isMutable; } |
| 114 | 114 |
| 115 bool hasFailedOrCanceledSubresources() const; | 115 bool hasFailedOrCanceledSubresources() const; |
| 116 | 116 |
| 117 static unsigned averageSizeInBytes(); | 117 static unsigned averageSizeInBytes(); |
| 118 | 118 |
| 119 unsigned variableCount() const; |
| 120 |
| 119 #ifndef NDEBUG | 121 #ifndef NDEBUG |
| 120 void showStyle(); | 122 void showStyle(); |
| 121 #endif | 123 #endif |
| 122 | 124 |
| 123 bool propertyMatches(CSSPropertyID, const CSSValue*) const; | 125 bool propertyMatches(CSSPropertyID, const CSSValue*) const; |
| 124 | 126 |
| 125 DECLARE_TRACE(); | 127 DECLARE_TRACE(); |
| 126 DEFINE_INLINE_TRACE_AFTER_DISPATCH() { } | 128 DEFINE_INLINE_TRACE_AFTER_DISPATCH() { } |
| 127 | 129 |
| 128 protected: | 130 protected: |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 inline int StylePropertySet::findPropertyIndex(CSSPropertyID propertyID) const | 295 inline int StylePropertySet::findPropertyIndex(CSSPropertyID propertyID) const |
| 294 { | 296 { |
| 295 if (m_isMutable) | 297 if (m_isMutable) |
| 296 return toMutableStylePropertySet(this)->findPropertyIndex(propertyID); | 298 return toMutableStylePropertySet(this)->findPropertyIndex(propertyID); |
| 297 return toImmutableStylePropertySet(this)->findPropertyIndex(propertyID); | 299 return toImmutableStylePropertySet(this)->findPropertyIndex(propertyID); |
| 298 } | 300 } |
| 299 | 301 |
| 300 } // namespace blink | 302 } // namespace blink |
| 301 | 303 |
| 302 #endif // StylePropertySet_h | 304 #endif // StylePropertySet_h |
| OLD | NEW |