OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <stddef.h> |
| 6 |
5 #include "cc/output/filter_operations.h" | 7 #include "cc/output/filter_operations.h" |
6 #include "skia/ext/refptr.h" | 8 #include "skia/ext/refptr.h" |
7 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
8 #include "third_party/skia/include/effects/SkBlurImageFilter.h" | 10 #include "third_party/skia/include/effects/SkBlurImageFilter.h" |
9 #include "third_party/skia/include/effects/SkDropShadowImageFilter.h" | 11 #include "third_party/skia/include/effects/SkDropShadowImageFilter.h" |
10 #include "ui/gfx/geometry/point.h" | 12 #include "ui/gfx/geometry/point.h" |
11 | 13 |
12 namespace cc { | 14 namespace cc { |
13 namespace { | 15 namespace { |
14 | 16 |
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
728 blended = to.Blend(from, -0.75); | 730 blended = to.Blend(from, -0.75); |
729 EXPECT_EQ(to, blended); | 731 EXPECT_EQ(to, blended); |
730 blended = to.Blend(from, 0.75); | 732 blended = to.Blend(from, 0.75); |
731 EXPECT_EQ(to, blended); | 733 EXPECT_EQ(to, blended); |
732 blended = to.Blend(from, 1.5); | 734 blended = to.Blend(from, 1.5); |
733 EXPECT_EQ(to, blended); | 735 EXPECT_EQ(to, blended); |
734 } | 736 } |
735 | 737 |
736 } // namespace | 738 } // namespace |
737 } // namespace cc | 739 } // namespace cc |
OLD | NEW |