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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 // FIXME: This should be styledElement since in JS getComputedStyle only wor
ks | 81 // FIXME: This should be styledElement since in JS getComputedStyle only wor
ks |
82 // on Elements, but right now editing creates these for text nodes. We shoul
d fix | 82 // on Elements, but right now editing creates these for text nodes. We shoul
d fix |
83 // that. | 83 // that. |
84 Node* styledNode() const; | 84 Node* styledNode() const; |
85 | 85 |
86 // CSSOM functions. Don't make these public. | 86 // CSSOM functions. Don't make these public. |
87 virtual CSSRule* parentRule() const override; | 87 virtual CSSRule* parentRule() const override; |
88 virtual unsigned length() const override; | 88 virtual unsigned length() const override; |
89 virtual String item(unsigned index) const override; | 89 virtual String item(unsigned index) const override; |
90 PassRefPtr<RenderStyle> computeRenderStyle() const; | 90 PassRefPtr<RenderStyle> computeRenderStyle() const; |
91 virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValue(const String& p
ropertyName) override; | |
92 virtual String getPropertyValue(const String& propertyName) override; | 91 virtual String getPropertyValue(const String& propertyName) override; |
93 virtual String getPropertyPriority(const String& propertyName) override; | 92 virtual String getPropertyPriority(const String& propertyName) override; |
94 virtual String getPropertyShorthand(const String& propertyName) override; | 93 virtual String getPropertyShorthand(const String& propertyName) override; |
95 virtual bool isPropertyImplicit(const String& propertyName) override; | 94 virtual bool isPropertyImplicit(const String& propertyName) override; |
96 virtual void setProperty(const String& propertyName, const String& value, co
nst String& priority, ExceptionState&) override; | 95 virtual void setProperty(const String& propertyName, const String& value, co
nst String& priority, ExceptionState&) override; |
97 virtual String removeProperty(const String& propertyName, ExceptionState&) o
verride; | 96 virtual String removeProperty(const String& propertyName, ExceptionState&) o
verride; |
98 virtual String cssText() const override; | 97 virtual String cssText() const override; |
99 virtual void setCSSText(const String&, ExceptionState&) override; | 98 virtual void setCSSText(const String&, ExceptionState&) override; |
100 virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSProp
ertyID) override; | 99 virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSProp
ertyID) override; |
101 virtual String getPropertyValueInternal(CSSPropertyID) override; | 100 virtual String getPropertyValueInternal(CSSPropertyID) override; |
(...skipping 16 matching lines...) Expand all Loading... |
118 PseudoId m_pseudoElementSpecifier; | 117 PseudoId m_pseudoElementSpecifier; |
119 bool m_allowVisitedStyle; | 118 bool m_allowVisitedStyle; |
120 #if !ENABLE(OILPAN) | 119 #if !ENABLE(OILPAN) |
121 unsigned m_refCount; | 120 unsigned m_refCount; |
122 #endif | 121 #endif |
123 }; | 122 }; |
124 | 123 |
125 } // namespace blink | 124 } // namespace blink |
126 | 125 |
127 #endif // CSSComputedStyleDeclaration_h | 126 #endif // CSSComputedStyleDeclaration_h |
OLD | NEW |