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

Side by Side Diff: third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp

Issue 1987943002: [wip] unprefix filter Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/animation/PropertyInterpolationTypesMapping.h" 5 #include "core/animation/PropertyInterpolationTypesMapping.h"
6 6
7 #include "core/HTMLNames.h" 7 #include "core/HTMLNames.h"
8 #include "core/animation/CSSBasicShapeInterpolationType.h" 8 #include "core/animation/CSSBasicShapeInterpolationType.h"
9 #include "core/animation/CSSBorderImageLengthBoxInterpolationType.h" 9 #include "core/animation/CSSBorderImageLengthBoxInterpolationType.h"
10 #include "core/animation/CSSClipInterpolationType.h" 10 #include "core/animation/CSSClipInterpolationType.h"
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 applicableTypes->append(adoptPtr(new CSSImageSliceInterpolationType( cssProperty))); 233 applicableTypes->append(adoptPtr(new CSSImageSliceInterpolationType( cssProperty)));
234 break; 234 break;
235 case CSSPropertyWebkitClipPath: 235 case CSSPropertyWebkitClipPath:
236 case CSSPropertyShapeOutside: 236 case CSSPropertyShapeOutside:
237 applicableTypes->append(adoptPtr(new CSSBasicShapeInterpolationType( cssProperty))); 237 applicableTypes->append(adoptPtr(new CSSBasicShapeInterpolationType( cssProperty)));
238 break; 238 break;
239 case CSSPropertyRotate: 239 case CSSPropertyRotate:
240 applicableTypes->append(adoptPtr(new CSSRotateInterpolationType(cssP roperty))); 240 applicableTypes->append(adoptPtr(new CSSRotateInterpolationType(cssP roperty)));
241 break; 241 break;
242 case CSSPropertyBackdropFilter: 242 case CSSPropertyBackdropFilter:
243 case CSSPropertyWebkitFilter: 243 case CSSPropertyFilter:
244 applicableTypes->append(adoptPtr(new CSSFilterListInterpolationType( cssProperty))); 244 applicableTypes->append(adoptPtr(new CSSFilterListInterpolationType( cssProperty)));
245 break; 245 break;
246 case CSSPropertyTransform: 246 case CSSPropertyTransform:
247 applicableTypes->append(adoptPtr(new CSSTransformInterpolationType(c ssProperty))); 247 applicableTypes->append(adoptPtr(new CSSTransformInterpolationType(c ssProperty)));
248 break; 248 break;
249 default: 249 default:
250 ASSERT(!CSSPropertyMetadata::isInterpolableProperty(cssProperty)); 250 ASSERT(!CSSPropertyMetadata::isInterpolableProperty(cssProperty));
251 } 251 }
252 252
253 applicableTypes->append(adoptPtr(new CSSValueInterpolationType(cssProper ty))); 253 applicableTypes->append(adoptPtr(new CSSValueInterpolationType(cssProper ty)));
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 } 370 }
371 371
372 applicableTypes->append(adoptPtr(new SVGValueInterpolationType(attribute ))); 372 applicableTypes->append(adoptPtr(new SVGValueInterpolationType(attribute )));
373 } 373 }
374 374
375 auto addResult = applicableTypesMap.add(property, std::move(applicableTypes) ); 375 auto addResult = applicableTypesMap.add(property, std::move(applicableTypes) );
376 return *addResult.storedValue->value.get(); 376 return *addResult.storedValue->value.get();
377 } 377 }
378 378
379 } // namespace blink 379 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698