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

Side by Side Diff: third_party/WebKit/Source/core/css/resolver/AnimatedStyleBuilder.cpp

Issue 2813863003: Rewrite references to "wtf/" to "platform/wtf/" in core/css and core/style. (Closed)
Patch Set: Rebase. Created 3 years, 8 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 #include "core/animation/animatable/AnimatableTransform.h" 51 #include "core/animation/animatable/AnimatableTransform.h"
52 #include "core/animation/animatable/AnimatableUnknown.h" 52 #include "core/animation/animatable/AnimatableUnknown.h"
53 #include "core/animation/animatable/AnimatableValue.h" 53 #include "core/animation/animatable/AnimatableValue.h"
54 #include "core/animation/animatable/AnimatableVisibility.h" 54 #include "core/animation/animatable/AnimatableVisibility.h"
55 #include "core/css/CSSPrimitiveValue.h" 55 #include "core/css/CSSPrimitiveValue.h"
56 #include "core/css/CSSPrimitiveValueMappings.h" 56 #include "core/css/CSSPrimitiveValueMappings.h"
57 #include "core/css/CSSPropertyMetadata.h" 57 #include "core/css/CSSPropertyMetadata.h"
58 #include "core/css/resolver/StyleBuilder.h" 58 #include "core/css/resolver/StyleBuilder.h"
59 #include "core/css/resolver/StyleResolverState.h" 59 #include "core/css/resolver/StyleResolverState.h"
60 #include "core/style/ComputedStyle.h" 60 #include "core/style/ComputedStyle.h"
61 #include "wtf/MathExtras.h" 61 #include "platform/wtf/MathExtras.h"
62 62
63 #include <type_traits> 63 #include <type_traits>
64 64
65 namespace blink { 65 namespace blink {
66 66
67 void AnimatedStyleBuilder::ApplyProperty(CSSPropertyID property, 67 void AnimatedStyleBuilder::ApplyProperty(CSSPropertyID property,
68 ComputedStyle& style, 68 ComputedStyle& style,
69 const AnimatableValue* value) { 69 const AnimatableValue* value) {
70 DCHECK(CSSPropertyMetadata::IsInterpolableProperty(property)); 70 DCHECK(CSSPropertyMetadata::IsInterpolableProperty(property));
71 switch (property) { 71 switch (property) {
(...skipping 21 matching lines...) Expand all
93 case CSSPropertyFilter: 93 case CSSPropertyFilter:
94 style.SetFilter(ToAnimatableFilterOperations(value)->Operations()); 94 style.SetFilter(ToAnimatableFilterOperations(value)->Operations());
95 return; 95 return;
96 96
97 default: 97 default:
98 NOTREACHED(); 98 NOTREACHED();
99 } 99 }
100 } 100 }
101 101
102 } // namespace blink 102 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698