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

Side by Side Diff: Source/core/animation/css/CSSAnimatableValueFactory.cpp

Issue 209443007: Remove shape-inside support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove now unused segmentIsEmpty Created 6 years, 9 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
OLDNEW
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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 case CSSPropertyWebkitMaskPositionY: 456 case CSSPropertyWebkitMaskPositionY:
457 return createFromFillLayers<CSSPropertyWebkitMaskPositionY>(style.maskLa yers(), style); 457 return createFromFillLayers<CSSPropertyWebkitMaskPositionY>(style.maskLa yers(), style);
458 case CSSPropertyWebkitMaskSize: 458 case CSSPropertyWebkitMaskSize:
459 return createFromFillLayers<CSSPropertyWebkitMaskSize>(style.maskLayers( ), style); 459 return createFromFillLayers<CSSPropertyWebkitMaskSize>(style.maskLayers( ), style);
460 case CSSPropertyWebkitPerspective: 460 case CSSPropertyWebkitPerspective:
461 return createFromDouble(style.perspective()); 461 return createFromDouble(style.perspective());
462 case CSSPropertyWebkitPerspectiveOriginX: 462 case CSSPropertyWebkitPerspectiveOriginX:
463 return createFromLength(style.perspectiveOriginX(), style); 463 return createFromLength(style.perspectiveOriginX(), style);
464 case CSSPropertyWebkitPerspectiveOriginY: 464 case CSSPropertyWebkitPerspectiveOriginY:
465 return createFromLength(style.perspectiveOriginY(), style); 465 return createFromLength(style.perspectiveOriginY(), style);
466 case CSSPropertyShapeInside:
467 return createFromShapeValue(style.shapeInside());
468 case CSSPropertyShapeOutside: 466 case CSSPropertyShapeOutside:
469 return createFromShapeValue(style.shapeOutside()); 467 return createFromShapeValue(style.shapeOutside());
470 case CSSPropertyShapeMargin: 468 case CSSPropertyShapeMargin:
471 return createFromLength(style.shapeMargin(), style); 469 return createFromLength(style.shapeMargin(), style);
472 case CSSPropertyShapeImageThreshold: 470 case CSSPropertyShapeImageThreshold:
473 return createFromDouble(style.shapeImageThreshold()); 471 return createFromDouble(style.shapeImageThreshold());
474 case CSSPropertyWebkitTextStrokeColor: 472 case CSSPropertyWebkitTextStrokeColor:
475 return createFromColor(property, style); 473 return createFromColor(property, style);
476 case CSSPropertyWebkitTransform: 474 case CSSPropertyWebkitTransform:
477 return AnimatableTransform::create(style.transform()); 475 return AnimatableTransform::create(style.transform());
(...skipping 16 matching lines...) Expand all
494 case CSSPropertyZoom: 492 case CSSPropertyZoom:
495 return createFromDouble(style.zoom()); 493 return createFromDouble(style.zoom());
496 default: 494 default:
497 ASSERT_NOT_REACHED(); 495 ASSERT_NOT_REACHED();
498 // This return value is to avoid a release crash if possible. 496 // This return value is to avoid a release crash if possible.
499 return AnimatableUnknown::create(nullptr); 497 return AnimatableUnknown::create(nullptr);
500 } 498 }
501 } 499 }
502 500
503 } // namespace WebCore 501 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl ('k') | Source/core/animation/css/CSSAnimations.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698