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

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

Issue 23528004: [CSS Grid Layout] Update named grid lines syntax to the last version of the specs (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@named
Patch Set: Patch for landing v2 Created 7 years, 1 month 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/CSSValue.h ('k') | Source/core/css/resolver/StyleBuilderCustom.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 * 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 22 matching lines...) Expand all
33 #include "core/css/CSSCalculationValue.h" 33 #include "core/css/CSSCalculationValue.h"
34 #include "core/css/CSSCanvasValue.h" 34 #include "core/css/CSSCanvasValue.h"
35 #include "core/css/CSSCrossfadeValue.h" 35 #include "core/css/CSSCrossfadeValue.h"
36 #include "core/css/CSSCursorImageValue.h" 36 #include "core/css/CSSCursorImageValue.h"
37 #include "core/css/CSSFilterValue.h" 37 #include "core/css/CSSFilterValue.h"
38 #include "core/css/CSSFontFaceSrcValue.h" 38 #include "core/css/CSSFontFaceSrcValue.h"
39 #include "core/css/CSSFontFeatureValue.h" 39 #include "core/css/CSSFontFeatureValue.h"
40 #include "core/css/CSSFontValue.h" 40 #include "core/css/CSSFontValue.h"
41 #include "core/css/CSSFunctionValue.h" 41 #include "core/css/CSSFunctionValue.h"
42 #include "core/css/CSSGradientValue.h" 42 #include "core/css/CSSGradientValue.h"
43 #include "core/css/CSSGridLineNamesValue.h"
43 #include "core/css/CSSGridTemplateValue.h" 44 #include "core/css/CSSGridTemplateValue.h"
44 #include "core/css/CSSImageSetValue.h" 45 #include "core/css/CSSImageSetValue.h"
45 #include "core/css/CSSImageValue.h" 46 #include "core/css/CSSImageValue.h"
46 #include "core/css/CSSInheritedValue.h" 47 #include "core/css/CSSInheritedValue.h"
47 #include "core/css/CSSInitialValue.h" 48 #include "core/css/CSSInitialValue.h"
48 #include "core/css/CSSLineBoxContainValue.h" 49 #include "core/css/CSSLineBoxContainValue.h"
49 #include "core/css/CSSMixFunctionValue.h" 50 #include "core/css/CSSMixFunctionValue.h"
50 #include "core/css/CSSPrimitiveValue.h" 51 #include "core/css/CSSPrimitiveValue.h"
51 #include "core/css/CSSReflectValue.h" 52 #include "core/css/CSSReflectValue.h"
52 #include "core/css/CSSSVGDocumentValue.h" 53 #include "core/css/CSSSVGDocumentValue.h"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 case RadialGradientClass: 176 case RadialGradientClass:
176 return compareCSSValues<CSSRadialGradientValue>(*this, other); 177 return compareCSSValues<CSSRadialGradientValue>(*this, other);
177 case CrossfadeClass: 178 case CrossfadeClass:
178 return compareCSSValues<CSSCrossfadeValue>(*this, other); 179 return compareCSSValues<CSSCrossfadeValue>(*this, other);
179 case ImageClass: 180 case ImageClass:
180 return compareCSSValues<CSSImageValue>(*this, other); 181 return compareCSSValues<CSSImageValue>(*this, other);
181 case InheritedClass: 182 case InheritedClass:
182 return compareCSSValues<CSSInheritedValue>(*this, other); 183 return compareCSSValues<CSSInheritedValue>(*this, other);
183 case InitialClass: 184 case InitialClass:
184 return compareCSSValues<CSSInitialValue>(*this, other); 185 return compareCSSValues<CSSInitialValue>(*this, other);
186 case GridLineNamesClass:
187 return compareCSSValues<CSSGridLineNamesValue>(*this, other);
185 case GridTemplateClass: 188 case GridTemplateClass:
186 return compareCSSValues<CSSGridTemplateValue>(*this, other); 189 return compareCSSValues<CSSGridTemplateValue>(*this, other);
187 case PrimitiveClass: 190 case PrimitiveClass:
188 return compareCSSValues<CSSPrimitiveValue>(*this, other); 191 return compareCSSValues<CSSPrimitiveValue>(*this, other);
189 case ReflectClass: 192 case ReflectClass:
190 return compareCSSValues<CSSReflectValue>(*this, other); 193 return compareCSSValues<CSSReflectValue>(*this, other);
191 case ShadowClass: 194 case ShadowClass:
192 return compareCSSValues<CSSShadowValue>(*this, other); 195 return compareCSSValues<CSSShadowValue>(*this, other);
193 case CubicBezierTimingFunctionClass: 196 case CubicBezierTimingFunctionClass:
194 return compareCSSValues<CSSCubicBezierTimingFunctionValue>(*this, ot her); 197 return compareCSSValues<CSSCubicBezierTimingFunctionValue>(*this, ot her);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 case RadialGradientClass: 266 case RadialGradientClass:
264 return toCSSRadialGradientValue(this)->customCSSText(); 267 return toCSSRadialGradientValue(this)->customCSSText();
265 case CrossfadeClass: 268 case CrossfadeClass:
266 return toCSSCrossfadeValue(this)->customCSSText(); 269 return toCSSCrossfadeValue(this)->customCSSText();
267 case ImageClass: 270 case ImageClass:
268 return toCSSImageValue(this)->customCSSText(); 271 return toCSSImageValue(this)->customCSSText();
269 case InheritedClass: 272 case InheritedClass:
270 return toCSSInheritedValue(this)->customCSSText(); 273 return toCSSInheritedValue(this)->customCSSText();
271 case InitialClass: 274 case InitialClass:
272 return toCSSInitialValue(this)->customCSSText(); 275 return toCSSInitialValue(this)->customCSSText();
276 case GridLineNamesClass:
277 return toCSSGridLineNamesValue(this)->customCSSText();
273 case GridTemplateClass: 278 case GridTemplateClass:
274 return toCSSGridTemplateValue(this)->customCSSText(); 279 return toCSSGridTemplateValue(this)->customCSSText();
275 case PrimitiveClass: 280 case PrimitiveClass:
276 return toCSSPrimitiveValue(this)->customCSSText(); 281 return toCSSPrimitiveValue(this)->customCSSText();
277 case ReflectClass: 282 case ReflectClass:
278 return toCSSReflectValue(this)->customCSSText(); 283 return toCSSReflectValue(this)->customCSSText();
279 case ShadowClass: 284 case ShadowClass:
280 return toCSSShadowValue(this)->customCSSText(); 285 return toCSSShadowValue(this)->customCSSText();
281 case CubicBezierTimingFunctionClass: 286 case CubicBezierTimingFunctionClass:
282 return toCSSCubicBezierTimingFunctionValue(this)->customCSSText(); 287 return toCSSCubicBezierTimingFunctionValue(this)->customCSSText();
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 return; 381 return;
377 case ImageClass: 382 case ImageClass:
378 delete toCSSImageValue(this); 383 delete toCSSImageValue(this);
379 return; 384 return;
380 case InheritedClass: 385 case InheritedClass:
381 delete toCSSInheritedValue(this); 386 delete toCSSInheritedValue(this);
382 return; 387 return;
383 case InitialClass: 388 case InitialClass:
384 delete toCSSInitialValue(this); 389 delete toCSSInitialValue(this);
385 return; 390 return;
391 case GridLineNamesClass:
392 delete toCSSGridLineNamesValue(this);
393 return;
386 case GridTemplateClass: 394 case GridTemplateClass:
387 delete toCSSGridTemplateValue(this); 395 delete toCSSGridTemplateValue(this);
388 return; 396 return;
389 case PrimitiveClass: 397 case PrimitiveClass:
390 delete toCSSPrimitiveValue(this); 398 delete toCSSPrimitiveValue(this);
391 return; 399 return;
392 case ReflectClass: 400 case ReflectClass:
393 delete toCSSReflectValue(this); 401 delete toCSSReflectValue(this);
394 return; 402 return;
395 case ShadowClass: 403 case ShadowClass:
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 return toSVGColor(this)->cloneForCSSOM(); 479 return toSVGColor(this)->cloneForCSSOM();
472 case SVGPaintClass: 480 case SVGPaintClass:
473 return toSVGPaint(this)->cloneForCSSOM(); 481 return toSVGPaint(this)->cloneForCSSOM();
474 default: 482 default:
475 ASSERT(!isSubtypeExposedToCSSOM()); 483 ASSERT(!isSubtypeExposedToCSSOM());
476 return TextCloneCSSValue::create(classType(), cssText()); 484 return TextCloneCSSValue::create(classType(), cssText());
477 } 485 }
478 } 486 }
479 487
480 } 488 }
OLDNEW
« no previous file with comments | « Source/core/css/CSSValue.h ('k') | Source/core/css/resolver/StyleBuilderCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698