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/resources/picture_layer_tiling_set.h" | 5 #include "cc/resources/picture_layer_tiling_set.h" |
6 | 6 |
| 7 #include <vector> |
| 8 |
7 #include "cc/resources/resource_pool.h" | 9 #include "cc/resources/resource_pool.h" |
8 #include "cc/resources/resource_provider.h" | 10 #include "cc/resources/resource_provider.h" |
9 #include "cc/test/fake_output_surface.h" | 11 #include "cc/test/fake_output_surface.h" |
10 #include "cc/test/fake_picture_layer_tiling_client.h" | 12 #include "cc/test/fake_picture_layer_tiling_client.h" |
11 #include "cc/test/fake_tile_manager_client.h" | 13 #include "cc/test/fake_tile_manager_client.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
13 #include "ui/gfx/size_conversions.h" | 15 #include "ui/gfx/size_conversions.h" |
14 | 16 |
15 namespace cc { | 17 namespace cc { |
16 namespace { | 18 namespace { |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 TEST_F(PictureLayerTilingSetTestWithResources, ManyTilings_Equal) { | 144 TEST_F(PictureLayerTilingSetTestWithResources, ManyTilings_Equal) { |
143 runTest(10, 1.f, 1.f, 5.f, 5.f); | 145 runTest(10, 1.f, 1.f, 5.f, 5.f); |
144 } | 146 } |
145 | 147 |
146 TEST_F(PictureLayerTilingSetTestWithResources, ManyTilings_NotEqual) { | 148 TEST_F(PictureLayerTilingSetTestWithResources, ManyTilings_NotEqual) { |
147 runTest(10, 1.f, 1.f, 4.5f, 5.f); | 149 runTest(10, 1.f, 1.f, 4.5f, 5.f); |
148 } | 150 } |
149 | 151 |
150 } // namespace | 152 } // namespace |
151 } // namespace cc | 153 } // namespace cc |
OLD | NEW |