OLD | NEW |
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 28 matching lines...) Expand all Loading... |
39 #include "core/css/CSSGradientValue.h" | 39 #include "core/css/CSSGradientValue.h" |
40 #include "core/css/CSSGridLineNamesValue.h" | 40 #include "core/css/CSSGridLineNamesValue.h" |
41 #include "core/css/CSSGridTemplateAreasValue.h" | 41 #include "core/css/CSSGridTemplateAreasValue.h" |
42 #include "core/css/CSSImageSetValue.h" | 42 #include "core/css/CSSImageSetValue.h" |
43 #include "core/css/CSSImageValue.h" | 43 #include "core/css/CSSImageValue.h" |
44 #include "core/css/CSSInheritedValue.h" | 44 #include "core/css/CSSInheritedValue.h" |
45 #include "core/css/CSSInitialValue.h" | 45 #include "core/css/CSSInitialValue.h" |
46 #include "core/css/CSSLineBoxContainValue.h" | 46 #include "core/css/CSSLineBoxContainValue.h" |
47 #include "core/css/CSSPathValue.h" | 47 #include "core/css/CSSPathValue.h" |
48 #include "core/css/CSSPrimitiveValue.h" | 48 #include "core/css/CSSPrimitiveValue.h" |
| 49 #include "core/css/CSSQuadValue.h" |
49 #include "core/css/CSSReflectValue.h" | 50 #include "core/css/CSSReflectValue.h" |
50 #include "core/css/CSSSVGDocumentValue.h" | 51 #include "core/css/CSSSVGDocumentValue.h" |
51 #include "core/css/CSSShadowValue.h" | 52 #include "core/css/CSSShadowValue.h" |
52 #include "core/css/CSSTimingFunctionValue.h" | 53 #include "core/css/CSSTimingFunctionValue.h" |
53 #include "core/css/CSSUnicodeRangeValue.h" | 54 #include "core/css/CSSUnicodeRangeValue.h" |
54 #include "core/css/CSSUnsetValue.h" | 55 #include "core/css/CSSUnsetValue.h" |
55 #include "core/css/CSSValueList.h" | 56 #include "core/css/CSSValueList.h" |
56 | 57 |
57 namespace blink { | 58 namespace blink { |
58 | 59 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 case UnsetClass: | 130 case UnsetClass: |
130 return compareCSSValues<CSSUnsetValue>(*this, other); | 131 return compareCSSValues<CSSUnsetValue>(*this, other); |
131 case GridLineNamesClass: | 132 case GridLineNamesClass: |
132 return compareCSSValues<CSSGridLineNamesValue>(*this, other); | 133 return compareCSSValues<CSSGridLineNamesValue>(*this, other); |
133 case GridTemplateAreasClass: | 134 case GridTemplateAreasClass: |
134 return compareCSSValues<CSSGridTemplateAreasValue>(*this, other); | 135 return compareCSSValues<CSSGridTemplateAreasValue>(*this, other); |
135 case PathClass: | 136 case PathClass: |
136 return compareCSSValues<CSSPathValue>(*this, other); | 137 return compareCSSValues<CSSPathValue>(*this, other); |
137 case PrimitiveClass: | 138 case PrimitiveClass: |
138 return compareCSSValues<CSSPrimitiveValue>(*this, other); | 139 return compareCSSValues<CSSPrimitiveValue>(*this, other); |
| 140 case QuadClass: |
| 141 return compareCSSValues<CSSQuadValue>(*this, other); |
139 case ReflectClass: | 142 case ReflectClass: |
140 return compareCSSValues<CSSReflectValue>(*this, other); | 143 return compareCSSValues<CSSReflectValue>(*this, other); |
141 case ShadowClass: | 144 case ShadowClass: |
142 return compareCSSValues<CSSShadowValue>(*this, other); | 145 return compareCSSValues<CSSShadowValue>(*this, other); |
143 case CubicBezierTimingFunctionClass: | 146 case CubicBezierTimingFunctionClass: |
144 return compareCSSValues<CSSCubicBezierTimingFunctionValue>(*this, ot
her); | 147 return compareCSSValues<CSSCubicBezierTimingFunctionValue>(*this, ot
her); |
145 case StepsTimingFunctionClass: | 148 case StepsTimingFunctionClass: |
146 return compareCSSValues<CSSStepsTimingFunctionValue>(*this, other); | 149 return compareCSSValues<CSSStepsTimingFunctionValue>(*this, other); |
147 case UnicodeRangeClass: | 150 case UnicodeRangeClass: |
148 return compareCSSValues<CSSUnicodeRangeValue>(*this, other); | 151 return compareCSSValues<CSSUnicodeRangeValue>(*this, other); |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 break; | 223 break; |
221 case GridTemplateAreasClass: | 224 case GridTemplateAreasClass: |
222 text = toCSSGridTemplateAreasValue(this)->customCSSText(); | 225 text = toCSSGridTemplateAreasValue(this)->customCSSText(); |
223 break; | 226 break; |
224 case PathClass: | 227 case PathClass: |
225 text = toCSSPathValue(this)->customCSSText(); | 228 text = toCSSPathValue(this)->customCSSText(); |
226 break; | 229 break; |
227 case PrimitiveClass: | 230 case PrimitiveClass: |
228 text = toCSSPrimitiveValue(this)->customCSSText(); | 231 text = toCSSPrimitiveValue(this)->customCSSText(); |
229 break; | 232 break; |
| 233 case QuadClass: |
| 234 text = toCSSQuadValue(this)->customCSSText(); |
| 235 break; |
230 case ReflectClass: | 236 case ReflectClass: |
231 text = toCSSReflectValue(this)->customCSSText(); | 237 text = toCSSReflectValue(this)->customCSSText(); |
232 break; | 238 break; |
233 case ShadowClass: | 239 case ShadowClass: |
234 text = toCSSShadowValue(this)->customCSSText(); | 240 text = toCSSShadowValue(this)->customCSSText(); |
235 break; | 241 break; |
236 case CubicBezierTimingFunctionClass: | 242 case CubicBezierTimingFunctionClass: |
237 text = toCSSCubicBezierTimingFunctionValue(this)->customCSSText(); | 243 text = toCSSCubicBezierTimingFunctionValue(this)->customCSSText(); |
238 break; | 244 break; |
239 case StepsTimingFunctionClass: | 245 case StepsTimingFunctionClass: |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 return; | 326 return; |
321 case GridTemplateAreasClass: | 327 case GridTemplateAreasClass: |
322 delete toCSSGridTemplateAreasValue(this); | 328 delete toCSSGridTemplateAreasValue(this); |
323 return; | 329 return; |
324 case PathClass: | 330 case PathClass: |
325 delete toCSSPathValue(this); | 331 delete toCSSPathValue(this); |
326 return; | 332 return; |
327 case PrimitiveClass: | 333 case PrimitiveClass: |
328 delete toCSSPrimitiveValue(this); | 334 delete toCSSPrimitiveValue(this); |
329 return; | 335 return; |
| 336 case QuadClass: |
| 337 delete toCSSQuadValue(this); |
| 338 return; |
330 case ReflectClass: | 339 case ReflectClass: |
331 delete toCSSReflectValue(this); | 340 delete toCSSReflectValue(this); |
332 return; | 341 return; |
333 case ShadowClass: | 342 case ShadowClass: |
334 delete toCSSShadowValue(this); | 343 delete toCSSShadowValue(this); |
335 return; | 344 return; |
336 case CubicBezierTimingFunctionClass: | 345 case CubicBezierTimingFunctionClass: |
337 delete toCSSCubicBezierTimingFunctionValue(this); | 346 delete toCSSCubicBezierTimingFunctionValue(this); |
338 return; | 347 return; |
339 case StepsTimingFunctionClass: | 348 case StepsTimingFunctionClass: |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 return; | 420 return; |
412 case GridTemplateAreasClass: | 421 case GridTemplateAreasClass: |
413 toCSSGridTemplateAreasValue(this)->~CSSGridTemplateAreasValue(); | 422 toCSSGridTemplateAreasValue(this)->~CSSGridTemplateAreasValue(); |
414 return; | 423 return; |
415 case PathClass: | 424 case PathClass: |
416 toCSSPathValue(this)->~CSSPathValue(); | 425 toCSSPathValue(this)->~CSSPathValue(); |
417 return; | 426 return; |
418 case PrimitiveClass: | 427 case PrimitiveClass: |
419 toCSSPrimitiveValue(this)->~CSSPrimitiveValue(); | 428 toCSSPrimitiveValue(this)->~CSSPrimitiveValue(); |
420 return; | 429 return; |
| 430 case QuadClass: |
| 431 toCSSQuadValue(this)->~CSSQuadValue(); |
| 432 return; |
421 case ReflectClass: | 433 case ReflectClass: |
422 toCSSReflectValue(this)->~CSSReflectValue(); | 434 toCSSReflectValue(this)->~CSSReflectValue(); |
423 return; | 435 return; |
424 case ShadowClass: | 436 case ShadowClass: |
425 toCSSShadowValue(this)->~CSSShadowValue(); | 437 toCSSShadowValue(this)->~CSSShadowValue(); |
426 return; | 438 return; |
427 case CubicBezierTimingFunctionClass: | 439 case CubicBezierTimingFunctionClass: |
428 toCSSCubicBezierTimingFunctionValue(this)->~CSSCubicBezierTimingFunction
Value(); | 440 toCSSCubicBezierTimingFunctionValue(this)->~CSSCubicBezierTimingFunction
Value(); |
429 return; | 441 return; |
430 case StepsTimingFunctionClass: | 442 case StepsTimingFunctionClass: |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 return; | 514 return; |
503 case GridTemplateAreasClass: | 515 case GridTemplateAreasClass: |
504 toCSSGridTemplateAreasValue(this)->traceAfterDispatch(visitor); | 516 toCSSGridTemplateAreasValue(this)->traceAfterDispatch(visitor); |
505 return; | 517 return; |
506 case PathClass: | 518 case PathClass: |
507 toCSSPathValue(this)->traceAfterDispatch(visitor); | 519 toCSSPathValue(this)->traceAfterDispatch(visitor); |
508 return; | 520 return; |
509 case PrimitiveClass: | 521 case PrimitiveClass: |
510 toCSSPrimitiveValue(this)->traceAfterDispatch(visitor); | 522 toCSSPrimitiveValue(this)->traceAfterDispatch(visitor); |
511 return; | 523 return; |
| 524 case QuadClass: |
| 525 toCSSQuadValue(this)->traceAfterDispatch(visitor); |
| 526 return; |
512 case ReflectClass: | 527 case ReflectClass: |
513 toCSSReflectValue(this)->traceAfterDispatch(visitor); | 528 toCSSReflectValue(this)->traceAfterDispatch(visitor); |
514 return; | 529 return; |
515 case ShadowClass: | 530 case ShadowClass: |
516 toCSSShadowValue(this)->traceAfterDispatch(visitor); | 531 toCSSShadowValue(this)->traceAfterDispatch(visitor); |
517 return; | 532 return; |
518 case CubicBezierTimingFunctionClass: | 533 case CubicBezierTimingFunctionClass: |
519 toCSSCubicBezierTimingFunctionValue(this)->traceAfterDispatch(visitor); | 534 toCSSCubicBezierTimingFunctionValue(this)->traceAfterDispatch(visitor); |
520 return; | 535 return; |
521 case StepsTimingFunctionClass: | 536 case StepsTimingFunctionClass: |
(...skipping 15 matching lines...) Expand all Loading... |
537 toCSSSVGDocumentValue(this)->traceAfterDispatch(visitor); | 552 toCSSSVGDocumentValue(this)->traceAfterDispatch(visitor); |
538 return; | 553 return; |
539 case CSSContentDistributionClass: | 554 case CSSContentDistributionClass: |
540 toCSSContentDistributionValue(this)->traceAfterDispatch(visitor); | 555 toCSSContentDistributionValue(this)->traceAfterDispatch(visitor); |
541 return; | 556 return; |
542 } | 557 } |
543 ASSERT_NOT_REACHED(); | 558 ASSERT_NOT_REACHED(); |
544 } | 559 } |
545 | 560 |
546 } | 561 } |
OLD | NEW |