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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 CSSParserMode cssParserMode() const { return static_cast<CSSParserMode>(m_cs
sParserMode); } | 136 CSSParserMode cssParserMode() const { return static_cast<CSSParserMode>(m_cs
sParserMode); } |
137 | 137 |
138 void addSubresourceStyleURLs(ListHashSet<KURL>&, StyleSheetContents* context
StyleSheet) const; | 138 void addSubresourceStyleURLs(ListHashSet<KURL>&, StyleSheetContents* context
StyleSheet) const; |
139 | 139 |
140 PassRefPtr<StylePropertySet> copy() const; | 140 PassRefPtr<StylePropertySet> copy() const; |
141 PassRefPtr<StylePropertySet> immutableCopyIfNeeded() const; | 141 PassRefPtr<StylePropertySet> immutableCopyIfNeeded() const; |
142 | 142 |
143 void removeEquivalentProperties(const StylePropertySet*); | 143 void removeEquivalentProperties(const StylePropertySet*); |
144 void removeEquivalentProperties(const CSSStyleDeclaration*); | 144 void removeEquivalentProperties(const CSSStyleDeclaration*); |
145 | 145 |
146 PassRefPtr<StylePropertySet> copyPropertiesInSet(const CSSPropertyID* set, u
nsigned length) const; | 146 PassRefPtr<StylePropertySet> copyPropertiesInSet(const Vector<CSSPropertyID>
&) const; |
147 | 147 |
148 String asText() const; | 148 String asText() const; |
149 | 149 |
150 PropertySetCSSStyleDeclaration* cssStyleDeclaration(); | 150 PropertySetCSSStyleDeclaration* cssStyleDeclaration(); |
151 CSSStyleDeclaration* ensureCSSStyleDeclaration(); | 151 CSSStyleDeclaration* ensureCSSStyleDeclaration(); |
152 CSSStyleDeclaration* ensureInlineCSSStyleDeclaration(const StyledElement* pa
rentElement); | 152 CSSStyleDeclaration* ensureInlineCSSStyleDeclaration(const StyledElement* pa
rentElement); |
153 | 153 |
154 bool isMutable() const { return m_isMutable; } | 154 bool isMutable() const { return m_isMutable; } |
155 bool hasCSSOMWrapper() const { return m_ownsCSSOMWrapper; } | 155 bool hasCSSOMWrapper() const { return m_ownsCSSOMWrapper; } |
156 | 156 |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 | 275 |
276 if (m_isMutable) | 276 if (m_isMutable) |
277 delete static_cast<MutableStylePropertySet*>(this); | 277 delete static_cast<MutableStylePropertySet*>(this); |
278 else | 278 else |
279 delete static_cast<ImmutableStylePropertySet*>(this); | 279 delete static_cast<ImmutableStylePropertySet*>(this); |
280 } | 280 } |
281 | 281 |
282 } // namespace WebCore | 282 } // namespace WebCore |
283 | 283 |
284 #endif // StylePropertySet_h | 284 #endif // StylePropertySet_h |
OLD | NEW |