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

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

Issue 2312713002: Unprefix -webkit-clip-path (Closed)
Patch Set: Rebase Created 4 years, 3 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 case CSSPropertyFontSize: 227 case CSSPropertyFontSize:
228 applicableTypes->append(wrapUnique(new CSSFontSizeInterpolationType( cssProperty))); 228 applicableTypes->append(wrapUnique(new CSSFontSizeInterpolationType( cssProperty)));
229 break; 229 break;
230 case CSSPropertyTextIndent: 230 case CSSPropertyTextIndent:
231 applicableTypes->append(wrapUnique(new CSSTextIndentInterpolationTyp e(cssProperty))); 231 applicableTypes->append(wrapUnique(new CSSTextIndentInterpolationTyp e(cssProperty)));
232 break; 232 break;
233 case CSSPropertyBorderImageSlice: 233 case CSSPropertyBorderImageSlice:
234 case CSSPropertyWebkitMaskBoxImageSlice: 234 case CSSPropertyWebkitMaskBoxImageSlice:
235 applicableTypes->append(wrapUnique(new CSSImageSliceInterpolationTyp e(cssProperty))); 235 applicableTypes->append(wrapUnique(new CSSImageSliceInterpolationTyp e(cssProperty)));
236 break; 236 break;
237 case CSSPropertyWebkitClipPath: 237 case CSSPropertyClipPath:
238 case CSSPropertyShapeOutside: 238 case CSSPropertyShapeOutside:
239 applicableTypes->append(wrapUnique(new CSSBasicShapeInterpolationTyp e(cssProperty))); 239 applicableTypes->append(wrapUnique(new CSSBasicShapeInterpolationTyp e(cssProperty)));
240 break; 240 break;
241 case CSSPropertyRotate: 241 case CSSPropertyRotate:
242 applicableTypes->append(wrapUnique(new CSSRotateInterpolationType(cs sProperty))); 242 applicableTypes->append(wrapUnique(new CSSRotateInterpolationType(cs sProperty)));
243 break; 243 break;
244 case CSSPropertyBackdropFilter: 244 case CSSPropertyBackdropFilter:
245 case CSSPropertyFilter: 245 case CSSPropertyFilter:
246 applicableTypes->append(wrapUnique(new CSSFilterListInterpolationTyp e(cssProperty))); 246 applicableTypes->append(wrapUnique(new CSSFilterListInterpolationTyp e(cssProperty)));
247 break; 247 break;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 } 372 }
373 373
374 applicableTypes->append(wrapUnique(new SVGValueInterpolationType(attribu te))); 374 applicableTypes->append(wrapUnique(new SVGValueInterpolationType(attribu te)));
375 } 375 }
376 376
377 auto addResult = applicableTypesMap.add(property, std::move(applicableTypes) ); 377 auto addResult = applicableTypesMap.add(property, std::move(applicableTypes) );
378 return *addResult.storedValue->value.get(); 378 return *addResult.storedValue->value.get();
379 } 379 }
380 380
381 } // namespace blink 381 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698