Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(211)

Side by Side Diff: Source/core/css/CSSComputedStyleDeclaration.h

Issue 361543002: Remove SVGPaint (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix tests Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 20 matching lines...) Expand all
31 31
32 namespace WebCore { 32 namespace WebCore {
33 33
34 class CSSPrimitiveValue; 34 class CSSPrimitiveValue;
35 class CSSValueList; 35 class CSSValueList;
36 class ExceptionState; 36 class ExceptionState;
37 class MutableStylePropertySet; 37 class MutableStylePropertySet;
38 class Node; 38 class Node;
39 class RenderObject; 39 class RenderObject;
40 class RenderStyle; 40 class RenderStyle;
41 class SVGPaint;
42 class ShadowData; 41 class ShadowData;
43 class ShadowList; 42 class ShadowList;
44 class StyleColor; 43 class StyleColor;
45 class StylePropertySet; 44 class StylePropertySet;
46 class StylePropertyShorthand; 45 class StylePropertyShorthand;
47 46
48 enum EUpdateLayout { DoNotUpdateLayout = false, UpdateLayout = true }; 47 enum EUpdateLayout { DoNotUpdateLayout = false, UpdateLayout = true };
49 48
50 class CSSComputedStyleDeclaration FINAL : public CSSStyleDeclaration { 49 class CSSComputedStyleDeclaration FINAL : public CSSStyleDeclaration {
51 public: 50 public:
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 virtual void setCSSText(const String&, ExceptionState&) OVERRIDE; 99 virtual void setCSSText(const String&, ExceptionState&) OVERRIDE;
101 virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSProp ertyID) OVERRIDE; 100 virtual PassRefPtrWillBeRawPtr<CSSValue> getPropertyCSSValueInternal(CSSProp ertyID) OVERRIDE;
102 virtual String getPropertyValueInternal(CSSPropertyID) OVERRIDE; 101 virtual String getPropertyValueInternal(CSSPropertyID) OVERRIDE;
103 virtual void setPropertyInternal(CSSPropertyID, const String& value, bool im portant, ExceptionState&) OVERRIDE; 102 virtual void setPropertyInternal(CSSPropertyID, const String& value, bool im portant, ExceptionState&) OVERRIDE;
104 103
105 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRI DE; 104 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRI DE;
106 105
107 PassRefPtrWillBeRawPtr<CSSValue> valueForShadowData(const ShadowData&, const RenderStyle&, bool useSpread) const; 106 PassRefPtrWillBeRawPtr<CSSValue> valueForShadowData(const ShadowData&, const RenderStyle&, bool useSpread) const;
108 PassRefPtrWillBeRawPtr<CSSValue> valueForShadowList(const ShadowList*, const RenderStyle&, bool useSpread) const; 107 PassRefPtrWillBeRawPtr<CSSValue> valueForShadowList(const ShadowList*, const RenderStyle&, bool useSpread) const;
109 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> currentColorOrValidColor(const Ren derStyle&, const StyleColor&) const; 108 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> currentColorOrValidColor(const Ren derStyle&, const StyleColor&) const;
110 PassRefPtrWillBeRawPtr<SVGPaint> adjustSVGPaintForCurrentColor(PassRefPtrWil lBeRawPtr<SVGPaint>, RenderStyle&) const;
111 109
112 PassRefPtrWillBeRawPtr<CSSValue> valueForFilter(const RenderObject*, const R enderStyle&) const; 110 PassRefPtrWillBeRawPtr<CSSValue> valueForFilter(const RenderObject*, const R enderStyle&) const;
113 111
114 PassRefPtrWillBeRawPtr<CSSValueList> valuesForShorthandProperty(const StyleP ropertyShorthand&) const; 112 PassRefPtrWillBeRawPtr<CSSValueList> valuesForShorthandProperty(const StyleP ropertyShorthand&) const;
115 PassRefPtrWillBeRawPtr<CSSValueList> valuesForSidesShorthand(const StyleProp ertyShorthand&) const; 113 PassRefPtrWillBeRawPtr<CSSValueList> valuesForSidesShorthand(const StyleProp ertyShorthand&) const;
116 PassRefPtrWillBeRawPtr<CSSValueList> valuesForBackgroundShorthand() const; 114 PassRefPtrWillBeRawPtr<CSSValueList> valuesForBackgroundShorthand() const;
117 PassRefPtrWillBeRawPtr<CSSValueList> valuesForGridShorthand(const StylePrope rtyShorthand&) const; 115 PassRefPtrWillBeRawPtr<CSSValueList> valuesForGridShorthand(const StylePrope rtyShorthand&) const;
118 116
119 RefPtrWillBeMember<Node> m_node; 117 RefPtrWillBeMember<Node> m_node;
120 PseudoId m_pseudoElementSpecifier; 118 PseudoId m_pseudoElementSpecifier;
121 bool m_allowVisitedStyle; 119 bool m_allowVisitedStyle;
122 #if !ENABLE(OILPAN) 120 #if !ENABLE(OILPAN)
123 unsigned m_refCount; 121 unsigned m_refCount;
124 #endif 122 #endif
125 }; 123 };
126 124
127 } // namespace WebCore 125 } // namespace WebCore
128 126
129 #endif // CSSComputedStyleDeclaration_h 127 #endif // CSSComputedStyleDeclaration_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698