| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 "cc/render_pass.h" | 5 #include "cc/render_pass.h" |
| 6 | 6 |
| 7 #include <public/WebFilterOperations.h> | |
| 8 | |
| 9 #include "cc/checkerboard_draw_quad.h" | 7 #include "cc/checkerboard_draw_quad.h" |
| 10 #include "cc/math_util.h" | 8 #include "cc/math_util.h" |
| 11 #include "cc/test/geometry_test_utils.h" | 9 #include "cc/test/geometry_test_utils.h" |
| 12 #include "cc/test/render_pass_test_common.h" | 10 #include "cc/test/render_pass_test_common.h" |
| 13 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperations
.h" |
| 14 #include "third_party/skia/include/effects/SkBlurImageFilter.h" | 13 #include "third_party/skia/include/effects/SkBlurImageFilter.h" |
| 15 #include "ui/gfx/transform.h" | 14 #include "ui/gfx/transform.h" |
| 16 | 15 |
| 17 using WebKit::WebFilterOperation; | 16 using WebKit::WebFilterOperation; |
| 18 using WebKit::WebFilterOperations; | 17 using WebKit::WebFilterOperations; |
| 19 using cc::TestRenderPass; | 18 using cc::TestRenderPass; |
| 20 | 19 |
| 21 namespace cc { | 20 namespace cc { |
| 22 namespace { | 21 namespace { |
| 23 | 22 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 EXPECT_EQ(pass->filters, copy->filters); | 82 EXPECT_EQ(pass->filters, copy->filters); |
| 84 EXPECT_EQ(pass->filter, copy->filter); | 83 EXPECT_EQ(pass->filter, copy->filter); |
| 85 EXPECT_EQ(pass->background_filters, copy->background_filters); | 84 EXPECT_EQ(pass->background_filters, copy->background_filters); |
| 86 EXPECT_EQ(0u, copy->quad_list.size()); | 85 EXPECT_EQ(0u, copy->quad_list.size()); |
| 87 | 86 |
| 88 EXPECT_EQ(sizeof(RenderPassSize), sizeof(RenderPass)); | 87 EXPECT_EQ(sizeof(RenderPassSize), sizeof(RenderPass)); |
| 89 } | 88 } |
| 90 | 89 |
| 91 } // namespace | 90 } // namespace |
| 92 } // namespace cc | 91 } // namespace cc |
| OLD | NEW |