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 <stddef.h> |
| 6 |
5 #include <limits> | 7 #include <limits> |
6 #include <set> | 8 #include <set> |
7 | 9 |
| 10 #include "base/macros.h" |
8 #include "cc/base/math_util.h" | 11 #include "cc/base/math_util.h" |
9 #include "cc/test/fake_display_list_raster_source.h" | 12 #include "cc/test/fake_display_list_raster_source.h" |
10 #include "cc/test/fake_output_surface.h" | 13 #include "cc/test/fake_output_surface.h" |
11 #include "cc/test/fake_output_surface_client.h" | 14 #include "cc/test/fake_output_surface_client.h" |
12 #include "cc/test/fake_picture_layer_tiling_client.h" | 15 #include "cc/test/fake_picture_layer_tiling_client.h" |
13 #include "cc/test/test_context_provider.h" | 16 #include "cc/test/test_context_provider.h" |
14 #include "cc/test/test_shared_bitmap_manager.h" | 17 #include "cc/test/test_shared_bitmap_manager.h" |
15 #include "cc/tiles/picture_layer_tiling.h" | 18 #include "cc/tiles/picture_layer_tiling.h" |
16 #include "cc/tiles/picture_layer_tiling_set.h" | 19 #include "cc/tiles/picture_layer_tiling_set.h" |
17 #include "cc/trees/layer_tree_settings.h" | 20 #include "cc/trees/layer_tree_settings.h" |
(...skipping 1806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1824 tiling_ = TestablePictureLayerTiling::Create(PENDING_TREE, contents_scale, | 1827 tiling_ = TestablePictureLayerTiling::Create(PENDING_TREE, contents_scale, |
1825 raster_source, &client_, | 1828 raster_source, &client_, |
1826 LayerTreeSettings()); | 1829 LayerTreeSettings()); |
1827 | 1830 |
1828 gfx::Rect content_rect(25554432, 25554432, 950, 860); | 1831 gfx::Rect content_rect(25554432, 25554432, 950, 860); |
1829 VerifyTilesExactlyCoverRect(contents_scale, content_rect); | 1832 VerifyTilesExactlyCoverRect(contents_scale, content_rect); |
1830 } | 1833 } |
1831 | 1834 |
1832 } // namespace | 1835 } // namespace |
1833 } // namespace cc | 1836 } // namespace cc |
OLD | NEW |