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

Side by Side Diff: sky/engine/core/css/CSSValue.cpp

Issue 1229273004: Remove Animations and Transitions. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/engine/core/css/CSSValue.h ('k') | sky/engine/core/css/CSSValueKeywords.in » ('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 * Copyright (C) 2011 Andreas Kling (kling@webkit.org) 2 * Copyright (C) 2011 Andreas Kling (kling@webkit.org)
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 21 matching lines...) Expand all
32 #include "sky/engine/core/css/CSSFilterValue.h" 32 #include "sky/engine/core/css/CSSFilterValue.h"
33 #include "sky/engine/core/css/CSSFontFeatureValue.h" 33 #include "sky/engine/core/css/CSSFontFeatureValue.h"
34 #include "sky/engine/core/css/CSSFontValue.h" 34 #include "sky/engine/core/css/CSSFontValue.h"
35 #include "sky/engine/core/css/CSSFunctionValue.h" 35 #include "sky/engine/core/css/CSSFunctionValue.h"
36 #include "sky/engine/core/css/CSSGradientValue.h" 36 #include "sky/engine/core/css/CSSGradientValue.h"
37 #include "sky/engine/core/css/CSSInheritedValue.h" 37 #include "sky/engine/core/css/CSSInheritedValue.h"
38 #include "sky/engine/core/css/CSSInitialValue.h" 38 #include "sky/engine/core/css/CSSInitialValue.h"
39 #include "sky/engine/core/css/CSSLineBoxContainValue.h" 39 #include "sky/engine/core/css/CSSLineBoxContainValue.h"
40 #include "sky/engine/core/css/CSSPrimitiveValue.h" 40 #include "sky/engine/core/css/CSSPrimitiveValue.h"
41 #include "sky/engine/core/css/CSSShadowValue.h" 41 #include "sky/engine/core/css/CSSShadowValue.h"
42 #include "sky/engine/core/css/CSSTimingFunctionValue.h"
43 #include "sky/engine/core/css/CSSTransformValue.h" 42 #include "sky/engine/core/css/CSSTransformValue.h"
44 #include "sky/engine/core/css/CSSUnicodeRangeValue.h" 43 #include "sky/engine/core/css/CSSUnicodeRangeValue.h"
45 #include "sky/engine/core/css/CSSValueList.h" 44 #include "sky/engine/core/css/CSSValueList.h"
46 45
47 namespace blink { 46 namespace blink {
48 47
49 struct SameSizeAsCSSValue : public RefCounted<SameSizeAsCSSValue> 48 struct SameSizeAsCSSValue : public RefCounted<SameSizeAsCSSValue>
50 { 49 {
51 uint32_t bitfields; 50 uint32_t bitfields;
52 }; 51 };
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 case RadialGradientClass: 122 case RadialGradientClass:
124 return compareCSSValues<CSSRadialGradientValue>(*this, other); 123 return compareCSSValues<CSSRadialGradientValue>(*this, other);
125 case InheritedClass: 124 case InheritedClass:
126 return compareCSSValues<CSSInheritedValue>(*this, other); 125 return compareCSSValues<CSSInheritedValue>(*this, other);
127 case InitialClass: 126 case InitialClass:
128 return compareCSSValues<CSSInitialValue>(*this, other); 127 return compareCSSValues<CSSInitialValue>(*this, other);
129 case PrimitiveClass: 128 case PrimitiveClass:
130 return compareCSSValues<CSSPrimitiveValue>(*this, other); 129 return compareCSSValues<CSSPrimitiveValue>(*this, other);
131 case ShadowClass: 130 case ShadowClass:
132 return compareCSSValues<CSSShadowValue>(*this, other); 131 return compareCSSValues<CSSShadowValue>(*this, other);
133 case CubicBezierTimingFunctionClass:
134 return compareCSSValues<CSSCubicBezierTimingFunctionValue>(*this, ot her);
135 case StepsTimingFunctionClass:
136 return compareCSSValues<CSSStepsTimingFunctionValue>(*this, other);
137 case UnicodeRangeClass: 132 case UnicodeRangeClass:
138 return compareCSSValues<CSSUnicodeRangeValue>(*this, other); 133 return compareCSSValues<CSSUnicodeRangeValue>(*this, other);
139 case ValueListClass: 134 case ValueListClass:
140 return compareCSSValues<CSSValueList>(*this, other); 135 return compareCSSValues<CSSValueList>(*this, other);
141 case CSSTransformClass: 136 case CSSTransformClass:
142 return compareCSSValues<CSSTransformValue>(*this, other); 137 return compareCSSValues<CSSTransformValue>(*this, other);
143 case LineBoxContainClass: 138 case LineBoxContainClass:
144 return compareCSSValues<CSSLineBoxContainValue>(*this, other); 139 return compareCSSValues<CSSLineBoxContainValue>(*this, other);
145 case CalculationClass: 140 case CalculationClass:
146 return compareCSSValues<CSSCalcValue>(*this, other); 141 return compareCSSValues<CSSCalcValue>(*this, other);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 case RadialGradientClass: 176 case RadialGradientClass:
182 return toCSSRadialGradientValue(this)->customCSSText(); 177 return toCSSRadialGradientValue(this)->customCSSText();
183 case InheritedClass: 178 case InheritedClass:
184 return toCSSInheritedValue(this)->customCSSText(); 179 return toCSSInheritedValue(this)->customCSSText();
185 case InitialClass: 180 case InitialClass:
186 return toCSSInitialValue(this)->customCSSText(); 181 return toCSSInitialValue(this)->customCSSText();
187 case PrimitiveClass: 182 case PrimitiveClass:
188 return toCSSPrimitiveValue(this)->customCSSText(); 183 return toCSSPrimitiveValue(this)->customCSSText();
189 case ShadowClass: 184 case ShadowClass:
190 return toCSSShadowValue(this)->customCSSText(); 185 return toCSSShadowValue(this)->customCSSText();
191 case CubicBezierTimingFunctionClass:
192 return toCSSCubicBezierTimingFunctionValue(this)->customCSSText();
193 case StepsTimingFunctionClass:
194 return toCSSStepsTimingFunctionValue(this)->customCSSText();
195 case UnicodeRangeClass: 186 case UnicodeRangeClass:
196 return toCSSUnicodeRangeValue(this)->customCSSText(); 187 return toCSSUnicodeRangeValue(this)->customCSSText();
197 case ValueListClass: 188 case ValueListClass:
198 return toCSSValueList(this)->customCSSText(); 189 return toCSSValueList(this)->customCSSText();
199 case CSSTransformClass: 190 case CSSTransformClass:
200 return toCSSTransformValue(this)->customCSSText(); 191 return toCSSTransformValue(this)->customCSSText();
201 case LineBoxContainClass: 192 case LineBoxContainClass:
202 return toCSSLineBoxContainValue(this)->customCSSText(); 193 return toCSSLineBoxContainValue(this)->customCSSText();
203 case CalculationClass: 194 case CalculationClass:
204 return toCSSCalcValue(this)->customCSSText(); 195 return toCSSCalcValue(this)->customCSSText();
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 return; 236 return;
246 case InitialClass: 237 case InitialClass:
247 delete toCSSInitialValue(this); 238 delete toCSSInitialValue(this);
248 return; 239 return;
249 case PrimitiveClass: 240 case PrimitiveClass:
250 delete toCSSPrimitiveValue(this); 241 delete toCSSPrimitiveValue(this);
251 return; 242 return;
252 case ShadowClass: 243 case ShadowClass:
253 delete toCSSShadowValue(this); 244 delete toCSSShadowValue(this);
254 return; 245 return;
255 case CubicBezierTimingFunctionClass:
256 delete toCSSCubicBezierTimingFunctionValue(this);
257 return;
258 case StepsTimingFunctionClass:
259 delete toCSSStepsTimingFunctionValue(this);
260 return;
261 case UnicodeRangeClass: 246 case UnicodeRangeClass:
262 delete toCSSUnicodeRangeValue(this); 247 delete toCSSUnicodeRangeValue(this);
263 return; 248 return;
264 case ValueListClass: 249 case ValueListClass:
265 delete toCSSValueList(this); 250 delete toCSSValueList(this);
266 return; 251 return;
267 case CSSTransformClass: 252 case CSSTransformClass:
268 delete toCSSTransformValue(this); 253 delete toCSSTransformValue(this);
269 return; 254 return;
270 case LineBoxContainClass: 255 case LineBoxContainClass:
(...skipping 20 matching lines...) Expand all
291 return toCSSFilterValue(this)->cloneForCSSOM(); 276 return toCSSFilterValue(this)->cloneForCSSOM();
292 case CSSTransformClass: 277 case CSSTransformClass:
293 return toCSSTransformValue(this)->cloneForCSSOM(); 278 return toCSSTransformValue(this)->cloneForCSSOM();
294 default: 279 default:
295 ASSERT(!isSubtypeExposedToCSSOM()); 280 ASSERT(!isSubtypeExposedToCSSOM());
296 return TextCloneCSSValue::create(classType(), cssText()); 281 return TextCloneCSSValue::create(classType(), cssText());
297 } 282 }
298 } 283 }
299 284
300 } 285 }
OLDNEW
« no previous file with comments | « sky/engine/core/css/CSSValue.h ('k') | sky/engine/core/css/CSSValueKeywords.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698