| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 return createFromColor(property, style); | 350 return createFromColor(property, style); |
| 351 case CSSPropertyBorderTopLeftRadius: | 351 case CSSPropertyBorderTopLeftRadius: |
| 352 return createFromLengthSize(style.borderTopLeftRadius(), style); | 352 return createFromLengthSize(style.borderTopLeftRadius(), style); |
| 353 case CSSPropertyBorderTopRightRadius: | 353 case CSSPropertyBorderTopRightRadius: |
| 354 return createFromLengthSize(style.borderTopRightRadius(), style); | 354 return createFromLengthSize(style.borderTopRightRadius(), style); |
| 355 case CSSPropertyBorderTopWidth: | 355 case CSSPropertyBorderTopWidth: |
| 356 return createFromDouble(style.borderTopWidth()); | 356 return createFromDouble(style.borderTopWidth()); |
| 357 case CSSPropertyBottom: | 357 case CSSPropertyBottom: |
| 358 return createFromLength(style.bottom(), style); | 358 return createFromLength(style.bottom(), style); |
| 359 case CSSPropertyBoxShadow: | 359 case CSSPropertyBoxShadow: |
| 360 case CSSPropertyWebkitBoxShadow: | |
| 361 return AnimatableShadow::create(style.boxShadow()); | 360 return AnimatableShadow::create(style.boxShadow()); |
| 362 case CSSPropertyClip: | 361 case CSSPropertyClip: |
| 363 if (style.hasAutoClip()) | 362 if (style.hasAutoClip()) |
| 364 return AnimatableUnknown::create(CSSPrimitiveValue::create(CSSValueA
uto)); | 363 return AnimatableUnknown::create(CSSPrimitiveValue::create(CSSValueA
uto)); |
| 365 return createFromLengthBox(style.clip(), style); | 364 return createFromLengthBox(style.clip(), style); |
| 366 case CSSPropertyColor: | 365 case CSSPropertyColor: |
| 367 return createFromColor(property, style); | 366 return createFromColor(property, style); |
| 368 case CSSPropertyFillOpacity: | 367 case CSSPropertyFillOpacity: |
| 369 return createFromDouble(style.fillOpacity()); | 368 return createFromDouble(style.fillOpacity()); |
| 370 case CSSPropertyFill: | 369 case CSSPropertyFill: |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 565 return createFromLength(style.svgStyle().ry(), style); | 564 return createFromLength(style.svgStyle().ry(), style); |
| 566 case CSSPropertyZIndex: | 565 case CSSPropertyZIndex: |
| 567 return createFromDouble(style.zIndex()); | 566 return createFromDouble(style.zIndex()); |
| 568 default: | 567 default: |
| 569 ASSERT_NOT_REACHED(); | 568 ASSERT_NOT_REACHED(); |
| 570 return nullptr; | 569 return nullptr; |
| 571 } | 570 } |
| 572 } | 571 } |
| 573 | 572 |
| 574 } // namespace blink | 573 } // namespace blink |
| OLD | NEW |