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 // PseudoElement for :before and :after if they exist. | 80 // PseudoElement for :before and :after if they exist. |
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(CSSPropertyID) const; | 90 PassRefPtr<RenderStyle> computeRenderStyle() const; |
91 virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValue(const String& p
ropertyName) OVERRIDE; | 91 virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValue(const String& p
ropertyName) OVERRIDE; |
92 virtual String getPropertyValue(const String& propertyName) OVERRIDE; | 92 virtual String getPropertyValue(const String& propertyName) OVERRIDE; |
93 virtual String getPropertyPriority(const String& propertyName) OVERRIDE; | 93 virtual String getPropertyPriority(const String& propertyName) OVERRIDE; |
94 virtual String getPropertyShorthand(const String& propertyName) OVERRIDE; | 94 virtual String getPropertyShorthand(const String& propertyName) OVERRIDE; |
95 virtual bool isPropertyImplicit(const String& propertyName) OVERRIDE; | 95 virtual bool isPropertyImplicit(const String& propertyName) OVERRIDE; |
96 virtual void setProperty(const String& propertyName, const String& value, co
nst String& priority, ExceptionState&) OVERRIDE; | 96 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; | 97 virtual String removeProperty(const String& propertyName, ExceptionState&) O
VERRIDE; |
98 virtual String cssText() const OVERRIDE; | 98 virtual String cssText() const OVERRIDE; |
99 virtual void setCSSText(const String&, ExceptionState&) OVERRIDE; | 99 virtual void setCSSText(const String&, ExceptionState&) OVERRIDE; |
100 virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSProp
ertyID) OVERRIDE; | 100 virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSProp
ertyID) OVERRIDE; |
(...skipping 17 matching lines...) Expand all Loading... |
118 PseudoId m_pseudoElementSpecifier; | 118 PseudoId m_pseudoElementSpecifier; |
119 bool m_allowVisitedStyle; | 119 bool m_allowVisitedStyle; |
120 #if !ENABLE(OILPAN) | 120 #if !ENABLE(OILPAN) |
121 unsigned m_refCount; | 121 unsigned m_refCount; |
122 #endif | 122 #endif |
123 }; | 123 }; |
124 | 124 |
125 } // namespace blink | 125 } // namespace blink |
126 | 126 |
127 #endif // CSSComputedStyleDeclaration_h | 127 #endif // CSSComputedStyleDeclaration_h |
OLD | NEW |