| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 80 |
| 81 // CSSOM functions. Don't make these public. | 81 // CSSOM functions. Don't make these public. |
| 82 CSSRule* parentRule() const override; | 82 CSSRule* parentRule() const override; |
| 83 unsigned length() const override; | 83 unsigned length() const override; |
| 84 String item(unsigned index) const override; | 84 String item(unsigned index) const override; |
| 85 const ComputedStyle* computeComputedStyle() const; | 85 const ComputedStyle* computeComputedStyle() const; |
| 86 String getPropertyValue(const String& propertyName) override; | 86 String getPropertyValue(const String& propertyName) override; |
| 87 String getPropertyPriority(const String& propertyName) override; | 87 String getPropertyPriority(const String& propertyName) override; |
| 88 String getPropertyShorthand(const String& propertyName) override; | 88 String getPropertyShorthand(const String& propertyName) override; |
| 89 bool isPropertyImplicit(const String& propertyName) override; | 89 bool isPropertyImplicit(const String& propertyName) override; |
| 90 void setProperty(const String& propertyName, | 90 void setProperty(const ExecutionContext*, |
| 91 const String& propertyName, |
| 91 const String& value, | 92 const String& value, |
| 92 const String& priority, | 93 const String& priority, |
| 93 ExceptionState&) override; | 94 ExceptionState&) override; |
| 94 String removeProperty(const String& propertyName, ExceptionState&) override; | 95 String removeProperty(const String& propertyName, ExceptionState&) override; |
| 95 String cssFloat() const; | 96 String cssFloat() const; |
| 96 void setCSSFloat(const String&, ExceptionState&); | 97 void setCSSFloat(const String&, ExceptionState&); |
| 97 String cssText() const override; | 98 String cssText() const override; |
| 98 void setCSSText(const String&, ExceptionState&) override; | 99 void setCSSText(const String&, ExceptionState&) override; |
| 99 const CSSValue* getPropertyCSSValueInternal(CSSPropertyID) override; | 100 const CSSValue* getPropertyCSSValueInternal(CSSPropertyID) override; |
| 100 const CSSValue* getPropertyCSSValueInternal( | 101 const CSSValue* getPropertyCSSValueInternal( |
| 101 AtomicString customPropertyName) override; | 102 AtomicString customPropertyName) override; |
| 102 String getPropertyValueInternal(CSSPropertyID) override; | 103 String getPropertyValueInternal(CSSPropertyID) override; |
| 103 void setPropertyInternal(CSSPropertyID, | 104 void setPropertyInternal(CSSPropertyID, |
| 104 const String& customPropertyName, | 105 const String& customPropertyName, |
| 105 const String& value, | 106 const String& value, |
| 106 bool important, | 107 bool important, |
| 108 const ExecutionContext*, |
| 107 ExceptionState&) override; | 109 ExceptionState&) override; |
| 108 | 110 |
| 109 bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const override; | 111 bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const override; |
| 110 | 112 |
| 111 Member<Node> m_node; | 113 Member<Node> m_node; |
| 112 PseudoId m_pseudoElementSpecifier; | 114 PseudoId m_pseudoElementSpecifier; |
| 113 bool m_allowVisitedStyle; | 115 bool m_allowVisitedStyle; |
| 114 }; | 116 }; |
| 115 | 117 |
| 116 } // namespace blink | 118 } // namespace blink |
| 117 | 119 |
| 118 #endif // CSSComputedStyleDeclaration_h | 120 #endif // CSSComputedStyleDeclaration_h |
| OLD | NEW |