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

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

Issue 472753002: Remove unused class CSSArrayFunctionValue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@pp3
Patch Set: Created 6 years, 4 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
« no previous file with comments | « Source/core/css/CSSComputedStyleDeclaration.cpp ('k') | Source/core/css/CSSValue.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 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 Library General Public 6 * modify it under the terms of the GNU Library 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 bool isRadialGradientValue() const { return m_classType == RadialGradientCla ss; } 95 bool isRadialGradientValue() const { return m_classType == RadialGradientCla ss; }
96 bool isReflectValue() const { return m_classType == ReflectClass; } 96 bool isReflectValue() const { return m_classType == ReflectClass; }
97 bool isShadowValue() const { return m_classType == ShadowClass; } 97 bool isShadowValue() const { return m_classType == ShadowClass; }
98 bool isTextCloneCSSValue() const { return m_isTextClone; } 98 bool isTextCloneCSSValue() const { return m_isTextClone; }
99 bool isCubicBezierTimingFunctionValue() const { return m_classType == CubicB ezierTimingFunctionClass; } 99 bool isCubicBezierTimingFunctionValue() const { return m_classType == CubicB ezierTimingFunctionClass; }
100 bool isStepsTimingFunctionValue() const { return m_classType == StepsTimingF unctionClass; } 100 bool isStepsTimingFunctionValue() const { return m_classType == StepsTimingF unctionClass; }
101 bool isTransformValue() const { return m_classType == CSSTransformClass; } 101 bool isTransformValue() const { return m_classType == CSSTransformClass; }
102 bool isLineBoxContainValue() const { return m_classType == LineBoxContainCla ss; } 102 bool isLineBoxContainValue() const { return m_classType == LineBoxContainCla ss; }
103 bool isCalcValue() const {return m_classType == CalculationClass; } 103 bool isCalcValue() const {return m_classType == CalculationClass; }
104 bool isFilterValue() const { return m_classType == CSSFilterClass; } 104 bool isFilterValue() const { return m_classType == CSSFilterClass; }
105 bool isArrayFunctionValue() const { return m_classType == CSSArrayFunctionVa lueClass; }
106 bool isGridTemplateAreasValue() const { return m_classType == GridTemplateAr easClass; } 105 bool isGridTemplateAreasValue() const { return m_classType == GridTemplateAr easClass; }
107 bool isSVGDocumentValue() const { return m_classType == CSSSVGDocumentClass; } 106 bool isSVGDocumentValue() const { return m_classType == CSSSVGDocumentClass; }
108 bool isUnicodeRangeValue() const { return m_classType == UnicodeRangeClass; } 107 bool isUnicodeRangeValue() const { return m_classType == UnicodeRangeClass; }
109 bool isGridLineNamesValue() const { return m_classType == GridLineNamesClass ; } 108 bool isGridLineNamesValue() const { return m_classType == GridLineNamesClass ; }
110 109
111 bool isCSSOMSafe() const { return m_isCSSOMSafe; } 110 bool isCSSOMSafe() const { return m_isCSSOMSafe; }
112 bool isSubtypeExposedToCSSOM() const 111 bool isSubtypeExposedToCSSOM() const
113 { 112 {
114 return isPrimitiveValue() || isValueList(); 113 return isPrimitiveValue() || isValueList();
115 } 114 }
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 CalculationClass, 161 CalculationClass,
163 GridTemplateAreasClass, 162 GridTemplateAreasClass,
164 163
165 // SVG classes. 164 // SVG classes.
166 CSSSVGDocumentClass, 165 CSSSVGDocumentClass,
167 166
168 // List class types must appear after ValueListClass. 167 // List class types must appear after ValueListClass.
169 ValueListClass, 168 ValueListClass,
170 ImageSetClass, 169 ImageSetClass,
171 CSSFilterClass, 170 CSSFilterClass,
172 CSSArrayFunctionValueClass,
173 CSSTransformClass, 171 CSSTransformClass,
174 GridLineNamesClass, 172 GridLineNamesClass,
175 // Do not append non-list class types here. 173 // Do not append non-list class types here.
176 }; 174 };
177 175
178 static const size_t ValueListSeparatorBits = 2; 176 static const size_t ValueListSeparatorBits = 2;
179 enum ValueListSeparator { 177 enum ValueListSeparator {
180 SpaceSeparator, 178 SpaceSeparator,
181 CommaSeparator, 179 CommaSeparator,
182 SlashSeparator 180 SlashSeparator
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 { 252 {
255 return first ? second && first->equals(*second) : !second; 253 return first ? second && first->equals(*second) : !second;
256 } 254 }
257 255
258 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \ 256 #define DEFINE_CSS_VALUE_TYPE_CASTS(thisType, predicate) \
259 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, value.predica te) 257 DEFINE_TYPE_CASTS(thisType, CSSValue, value, value->predicate, value.predica te)
260 258
261 } // namespace blink 259 } // namespace blink
262 260
263 #endif // CSSValue_h 261 #endif // CSSValue_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSComputedStyleDeclaration.cpp ('k') | Source/core/css/CSSValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698