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 21 matching lines...) Expand all Loading... |
32 | 32 |
33 namespace WebCore { | 33 namespace WebCore { |
34 | 34 |
35 class CSSPrimitiveValue; | 35 class CSSPrimitiveValue; |
36 class CSSValueList; | 36 class CSSValueList; |
37 class ExceptionState; | 37 class ExceptionState; |
38 class MutableStylePropertySet; | 38 class MutableStylePropertySet; |
39 class Node; | 39 class Node; |
40 class RenderObject; | 40 class RenderObject; |
41 class RenderStyle; | 41 class RenderStyle; |
42 class SVGPaint; | |
43 class ShadowData; | 42 class ShadowData; |
44 class ShadowList; | 43 class ShadowList; |
45 class StyleColor; | 44 class StyleColor; |
46 class StylePropertySet; | 45 class StylePropertySet; |
47 class StylePropertyShorthand; | 46 class StylePropertyShorthand; |
48 | 47 |
49 enum EUpdateLayout { DoNotUpdateLayout = false, UpdateLayout = true }; | 48 enum EUpdateLayout { DoNotUpdateLayout = false, UpdateLayout = true }; |
50 | 49 |
51 class CSSComputedStyleDeclaration FINAL : public CSSStyleDeclaration { | 50 class CSSComputedStyleDeclaration FINAL : public CSSStyleDeclaration { |
52 public: | 51 public: |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 virtual void setCSSText(const String&, ExceptionState&) OVERRIDE; | 100 virtual void setCSSText(const String&, ExceptionState&) OVERRIDE; |
102 virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSProp
ertyID) OVERRIDE; | 101 virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSProp
ertyID) OVERRIDE; |
103 virtual String getPropertyValueInternal(CSSPropertyID) OVERRIDE; | 102 virtual String getPropertyValueInternal(CSSPropertyID) OVERRIDE; |
104 virtual void setPropertyInternal(CSSPropertyID, const String& value, bool im
portant, ExceptionState&) OVERRIDE; | 103 virtual void setPropertyInternal(CSSPropertyID, const String& value, bool im
portant, ExceptionState&) OVERRIDE; |
105 | 104 |
106 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRI
DE; | 105 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRI
DE; |
107 | 106 |
108 PassRefPtrWillBeRawPtr<CSSValue> valueForShadowData(const ShadowData&, const
RenderStyle&, bool useSpread) const; | 107 PassRefPtrWillBeRawPtr<CSSValue> valueForShadowData(const ShadowData&, const
RenderStyle&, bool useSpread) const; |
109 PassRefPtrWillBeRawPtr<CSSValue> valueForShadowList(const ShadowList*, const
RenderStyle&, bool useSpread) const; | 108 PassRefPtrWillBeRawPtr<CSSValue> valueForShadowList(const ShadowList*, const
RenderStyle&, bool useSpread) const; |
110 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> currentColorOrValidColor(const Ren
derStyle&, const StyleColor&) const; | 109 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> currentColorOrValidColor(const Ren
derStyle&, const StyleColor&) const; |
111 PassRefPtrWillBeRawPtr<SVGPaint> adjustSVGPaintForCurrentColor(PassRefPtrWil
lBeRawPtr<SVGPaint>, RenderStyle&) const; | |
112 | 110 |
113 PassRefPtrWillBeRawPtr<CSSValue> valueForFilter(const RenderObject*, const R
enderStyle&) const; | 111 PassRefPtrWillBeRawPtr<CSSValue> valueForFilter(const RenderObject*, const R
enderStyle&) const; |
114 | 112 |
115 PassRefPtrWillBeRawPtr<CSSValueList> valuesForShorthandProperty(const StyleP
ropertyShorthand&) const; | 113 PassRefPtrWillBeRawPtr<CSSValueList> valuesForShorthandProperty(const StyleP
ropertyShorthand&) const; |
116 PassRefPtrWillBeRawPtr<CSSValueList> valuesForSidesShorthand(const StyleProp
ertyShorthand&) const; | 114 PassRefPtrWillBeRawPtr<CSSValueList> valuesForSidesShorthand(const StyleProp
ertyShorthand&) const; |
117 PassRefPtrWillBeRawPtr<CSSValueList> valuesForBackgroundShorthand() const; | 115 PassRefPtrWillBeRawPtr<CSSValueList> valuesForBackgroundShorthand() const; |
118 PassRefPtrWillBeRawPtr<CSSValueList> valuesForGridShorthand(const StylePrope
rtyShorthand&) const; | 116 PassRefPtrWillBeRawPtr<CSSValueList> valuesForGridShorthand(const StylePrope
rtyShorthand&) const; |
119 | 117 |
120 RefPtrWillBeMember<Node> m_node; | 118 RefPtrWillBeMember<Node> m_node; |
121 PseudoId m_pseudoElementSpecifier; | 119 PseudoId m_pseudoElementSpecifier; |
122 bool m_allowVisitedStyle; | 120 bool m_allowVisitedStyle; |
123 #if !ENABLE(OILPAN) | 121 #if !ENABLE(OILPAN) |
124 unsigned m_refCount; | 122 unsigned m_refCount; |
125 #endif | 123 #endif |
126 }; | 124 }; |
127 | 125 |
128 } // namespace WebCore | 126 } // namespace WebCore |
129 | 127 |
130 #endif // CSSComputedStyleDeclaration_h | 128 #endif // CSSComputedStyleDeclaration_h |
OLD | NEW |