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

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

Issue 148523016: Move most of the [Pass]RefPtr's of CSSPrimitiveValue to our transition types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 virtual String variableValue(const AtomicString& name) const OVERRIDE; 121 virtual String variableValue(const AtomicString& name) const OVERRIDE;
122 virtual bool setVariableValue(const AtomicString& name, const String& value, ExceptionState&) OVERRIDE; 122 virtual bool setVariableValue(const AtomicString& name, const String& value, ExceptionState&) OVERRIDE;
123 virtual bool removeVariable(const AtomicString& name) OVERRIDE; 123 virtual bool removeVariable(const AtomicString& name) OVERRIDE;
124 virtual bool clearVariables(ExceptionState&) OVERRIDE; 124 virtual bool clearVariables(ExceptionState&) OVERRIDE;
125 virtual PassRefPtr<CSSVariablesIterator> variablesIterator() const OVERRIDE { return ComputedCSSVariablesIterator::create(variableMap()); } 125 virtual PassRefPtr<CSSVariablesIterator> variablesIterator() const OVERRIDE { return ComputedCSSVariablesIterator::create(variableMap()); }
126 126
127 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRI DE; 127 virtual bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const OVERRI DE;
128 128
129 PassRefPtr<CSSValue> valueForShadowData(const ShadowData&, const RenderStyle &, bool useSpread) const; 129 PassRefPtr<CSSValue> valueForShadowData(const ShadowData&, const RenderStyle &, bool useSpread) const;
130 PassRefPtr<CSSValue> valueForShadowList(const ShadowList*, const RenderStyle &, bool useSpread) const; 130 PassRefPtr<CSSValue> valueForShadowList(const ShadowList*, const RenderStyle &, bool useSpread) const;
131 PassRefPtr<CSSPrimitiveValue> currentColorOrValidColor(const RenderStyle&, c onst StyleColor&) const; 131 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> currentColorOrValidColor(const Ren derStyle&, const StyleColor&) const;
132 PassRefPtrWillBeRawPtr<SVGPaint> adjustSVGPaintForCurrentColor(PassRefPtrWil lBeRawPtr<SVGPaint>, RenderStyle&) const; 132 PassRefPtrWillBeRawPtr<SVGPaint> adjustSVGPaintForCurrentColor(PassRefPtrWil lBeRawPtr<SVGPaint>, RenderStyle&) const;
133 133
134 PassRefPtr<CSSValue> valueForFilter(const RenderObject*, const RenderStyle&) const; 134 PassRefPtr<CSSValue> valueForFilter(const RenderObject*, const RenderStyle&) const;
135 135
136 PassRefPtrWillBeRawPtr<CSSValueList> valuesForShorthandProperty(const StyleP ropertyShorthand&) const; 136 PassRefPtrWillBeRawPtr<CSSValueList> valuesForShorthandProperty(const StyleP ropertyShorthand&) const;
137 PassRefPtrWillBeRawPtr<CSSValueList> valuesForSidesShorthand(const StyleProp ertyShorthand&) const; 137 PassRefPtrWillBeRawPtr<CSSValueList> valuesForSidesShorthand(const StyleProp ertyShorthand&) const;
138 PassRefPtrWillBeRawPtr<CSSValueList> valuesForBackgroundShorthand() const; 138 PassRefPtrWillBeRawPtr<CSSValueList> valuesForBackgroundShorthand() const;
139 PassRefPtrWillBeRawPtr<CSSValueList> valuesForGridShorthand(const StylePrope rtyShorthand&) const; 139 PassRefPtrWillBeRawPtr<CSSValueList> valuesForGridShorthand(const StylePrope rtyShorthand&) const;
140 140
141 RefPtr<Node> m_node; 141 RefPtr<Node> m_node;
142 PseudoId m_pseudoElementSpecifier; 142 PseudoId m_pseudoElementSpecifier;
143 bool m_allowVisitedStyle; 143 bool m_allowVisitedStyle;
144 unsigned m_refCount; 144 unsigned m_refCount;
145 }; 145 };
146 146
147 } // namespace WebCore 147 } // namespace WebCore
148 148
149 #endif // CSSComputedStyleDeclaration_h 149 #endif // CSSComputedStyleDeclaration_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698