| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> | 2 * Copyright (C) 2004 Zack Rusin <zack@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 Lesser General Public | 6 * modify it under the terms of the GNU Lesser 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 #if !ENABLE(OILPAN) | 55 #if !ENABLE(OILPAN) |
| 56 void ref() override; | 56 void ref() override; |
| 57 void deref() override; | 57 void deref() override; |
| 58 #endif | 58 #endif |
| 59 | 59 |
| 60 String getPropertyValue(CSSPropertyID) const; | 60 String getPropertyValue(CSSPropertyID) const; |
| 61 bool getPropertyPriority(CSSPropertyID) const; | 61 bool getPropertyPriority(CSSPropertyID) const; |
| 62 | 62 |
| 63 PassRefPtrWillBeRawPtr<MutableStylePropertySet> copyProperties() const; | 63 PassRefPtrWillBeRawPtr<MutableStylePropertySet> copyProperties() const; |
| 64 | 64 |
| 65 PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValue(CSSPropertyID) const; | 65 PassRefPtr<CSSValue> getPropertyCSSValue(CSSPropertyID) const; |
| 66 PassRefPtrWillBeRawPtr<CSSValue> getFontSizeCSSValuePreferringKeyword() cons
t; | 66 PassRefPtr<CSSValue> getFontSizeCSSValuePreferringKeyword() const; |
| 67 bool isMonospaceFont() const; | 67 bool isMonospaceFont() const; |
| 68 | 68 |
| 69 PassRefPtrWillBeRawPtr<MutableStylePropertySet> copyPropertiesInSet(const Ve
ctor<CSSPropertyID>&) const; | 69 PassRefPtrWillBeRawPtr<MutableStylePropertySet> copyPropertiesInSet(const Ve
ctor<CSSPropertyID>&) const; |
| 70 | 70 |
| 71 DECLARE_VIRTUAL_TRACE(); | 71 DECLARE_VIRTUAL_TRACE(); |
| 72 | 72 |
| 73 private: | 73 private: |
| 74 CSSComputedStyleDeclaration(PassRefPtrWillBeRawPtr<Node>, bool allowVisitedS
tyle, const String&); | 74 CSSComputedStyleDeclaration(PassRefPtrWillBeRawPtr<Node>, bool allowVisitedS
tyle, const String&); |
| 75 | 75 |
| 76 // The styled node is either the node passed into getComputedStyle, or the | 76 // The styled node is either the node passed into getComputedStyle, or the |
| (...skipping 11 matching lines...) Expand all Loading... |
| 88 String getPropertyValue(const String& propertyName) override; | 88 String getPropertyValue(const String& propertyName) override; |
| 89 String getPropertyPriority(const String& propertyName) override; | 89 String getPropertyPriority(const String& propertyName) override; |
| 90 String getPropertyShorthand(const String& propertyName) override; | 90 String getPropertyShorthand(const String& propertyName) override; |
| 91 bool isPropertyImplicit(const String& propertyName) override; | 91 bool isPropertyImplicit(const String& propertyName) override; |
| 92 void setProperty(const String& propertyName, const String& value, const Stri
ng& priority, ExceptionState&) override; | 92 void setProperty(const String& propertyName, const String& value, const Stri
ng& priority, ExceptionState&) override; |
| 93 String removeProperty(const String& propertyName, ExceptionState&) override; | 93 String removeProperty(const String& propertyName, ExceptionState&) override; |
| 94 String cssFloat() const; | 94 String cssFloat() const; |
| 95 void setCSSFloat(const String&, ExceptionState&); | 95 void setCSSFloat(const String&, ExceptionState&); |
| 96 String cssText() const override; | 96 String cssText() const override; |
| 97 void setCSSText(const String&, ExceptionState&) override; | 97 void setCSSText(const String&, ExceptionState&) override; |
| 98 PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID)
override; | 98 PassRefPtr<CSSValue> getPropertyCSSValueInternal(CSSPropertyID) override; |
| 99 String getPropertyValueInternal(CSSPropertyID) override; | 99 String getPropertyValueInternal(CSSPropertyID) override; |
| 100 void setPropertyInternal(CSSPropertyID, const String& value, bool important,
ExceptionState&) override; | 100 void setPropertyInternal(CSSPropertyID, const String& value, bool important,
ExceptionState&) override; |
| 101 | 101 |
| 102 bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const override; | 102 bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const override; |
| 103 | 103 |
| 104 RefPtrWillBeMember<Node> m_node; | 104 RefPtrWillBeMember<Node> m_node; |
| 105 PseudoId m_pseudoElementSpecifier; | 105 PseudoId m_pseudoElementSpecifier; |
| 106 bool m_allowVisitedStyle; | 106 bool m_allowVisitedStyle; |
| 107 #if !ENABLE(OILPAN) | 107 #if !ENABLE(OILPAN) |
| 108 unsigned m_refCount; | 108 unsigned m_refCount; |
| 109 #endif | 109 #endif |
| 110 }; | 110 }; |
| 111 | 111 |
| 112 } // namespace blink | 112 } // namespace blink |
| 113 | 113 |
| 114 #endif // CSSComputedStyleDeclaration_h | 114 #endif // CSSComputedStyleDeclaration_h |
| OLD | NEW |