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

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

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 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/BasicShapeInterpolationFunctions.h" 5 #include "core/animation/BasicShapeInterpolationFunctions.h"
6 6
7 #include <memory>
7 #include "core/animation/CSSPositionAxisListInterpolationType.h" 8 #include "core/animation/CSSPositionAxisListInterpolationType.h"
8 #include "core/animation/LengthInterpolationFunctions.h" 9 #include "core/animation/LengthInterpolationFunctions.h"
9 #include "core/css/CSSBasicShapeValues.h" 10 #include "core/css/CSSBasicShapeValues.h"
10 #include "core/css/resolver/StyleResolverState.h" 11 #include "core/css/resolver/StyleResolverState.h"
11 #include "core/style/BasicShapes.h" 12 #include "core/style/BasicShapes.h"
12 #include <memory>
13 13
14 namespace blink { 14 namespace blink {
15 15
16 class BasicShapeNonInterpolableValue : public NonInterpolableValue { 16 class BasicShapeNonInterpolableValue : public NonInterpolableValue {
17 public: 17 public:
18 static PassRefPtr<NonInterpolableValue> Create(BasicShape::ShapeType type) { 18 static PassRefPtr<NonInterpolableValue> Create(BasicShape::ShapeType type) {
19 return AdoptRef(new BasicShapeNonInterpolableValue(type)); 19 return AdoptRef(new BasicShapeNonInterpolableValue(type));
20 } 20 }
21 static PassRefPtr<NonInterpolableValue> CreatePolygon(WindRule wind_rule, 21 static PassRefPtr<NonInterpolableValue> CreatePolygon(WindRule wind_rule,
22 size_t size) { 22 size_t size) {
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 case BasicShape::kBasicShapePolygonType: 588 case BasicShape::kBasicShapePolygonType:
589 return PolygonFunctions::CreateBasicShape( 589 return PolygonFunctions::CreateBasicShape(
590 interpolable_value, non_interpolable_value, conversion_data); 590 interpolable_value, non_interpolable_value, conversion_data);
591 default: 591 default:
592 NOTREACHED(); 592 NOTREACHED();
593 return nullptr; 593 return nullptr;
594 } 594 }
595 } 595 }
596 596
597 } // namespace blink 597 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698