| 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 <map> | 5 #include <map> |
| 6 #include <utility> | 6 #include <utility> |
| 7 | 7 |
| 8 #include "cc/resources/picture_pile.h" | 8 #include "cc/playback/picture_pile.h" |
| 9 #include "cc/test/fake_content_layer_client.h" | 9 #include "cc/test/fake_content_layer_client.h" |
| 10 #include "cc/test/fake_picture_pile.h" | 10 #include "cc/test/fake_picture_pile.h" |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 12 #include "ui/gfx/geometry/rect_conversions.h" | 12 #include "ui/gfx/geometry/rect_conversions.h" |
| 13 #include "ui/gfx/geometry/size_conversions.h" | 13 #include "ui/gfx/geometry/size_conversions.h" |
| 14 | 14 |
| 15 namespace cc { | 15 namespace cc { |
| 16 namespace { | 16 namespace { |
| 17 | 17 |
| 18 class PicturePileTestBase { | 18 class PicturePileTestBase { |
| (...skipping 1317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1336 EXPECT_TRUE(pile_.HasRecordings()); | 1336 EXPECT_TRUE(pile_.HasRecordings()); |
| 1337 pile_.SetEmptyBounds(); | 1337 pile_.SetEmptyBounds(); |
| 1338 EXPECT_FALSE(pile_.is_solid_color()); | 1338 EXPECT_FALSE(pile_.is_solid_color()); |
| 1339 EXPECT_TRUE(pile_.GetSize().IsEmpty()); | 1339 EXPECT_TRUE(pile_.GetSize().IsEmpty()); |
| 1340 EXPECT_TRUE(pile_.picture_map().empty()); | 1340 EXPECT_TRUE(pile_.picture_map().empty()); |
| 1341 EXPECT_FALSE(pile_.HasRecordings()); | 1341 EXPECT_FALSE(pile_.HasRecordings()); |
| 1342 } | 1342 } |
| 1343 | 1343 |
| 1344 } // namespace | 1344 } // namespace |
| 1345 } // namespace cc | 1345 } // namespace cc |
| OLD | NEW |