| 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> | 5 #include <stddef.h> |
| 6 | 6 |
| 7 #include "base/containers/hash_tables.h" | |
| 8 #include "cc/layers/append_quads_data.h" | 7 #include "cc/layers/append_quads_data.h" |
| 9 #include "cc/layers/nine_patch_layer_impl.h" | 8 #include "cc/layers/nine_patch_layer_impl.h" |
| 10 #include "cc/quads/texture_draw_quad.h" | 9 #include "cc/quads/texture_draw_quad.h" |
| 11 #include "cc/resources/ui_resource_bitmap.h" | 10 #include "cc/resources/ui_resource_bitmap.h" |
| 12 #include "cc/resources/ui_resource_client.h" | 11 #include "cc/resources/ui_resource_client.h" |
| 13 #include "cc/test/fake_impl_task_runner_provider.h" | 12 #include "cc/test/fake_impl_task_runner_provider.h" |
| 14 #include "cc/test/fake_output_surface.h" | 13 #include "cc/test/fake_output_surface.h" |
| 15 #include "cc/test/fake_ui_resource_layer_tree_host_impl.h" | 14 #include "cc/test/fake_ui_resource_layer_tree_host_impl.h" |
| 16 #include "cc/test/geometry_test_utils.h" | 15 #include "cc/test/geometry_test_utils.h" |
| 17 #include "cc/test/layer_test_common.h" | 16 #include "cc/test/layer_test_common.h" |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 | 336 |
| 338 const QuadList &quad_list = impl.quad_list(); | 337 const QuadList &quad_list = impl.quad_list(); |
| 339 for (QuadList::ConstBackToFrontIterator it = quad_list.BackToFrontBegin(); | 338 for (QuadList::ConstBackToFrontIterator it = quad_list.BackToFrontBegin(); |
| 340 it != quad_list.BackToFrontEnd(); ++it) | 339 it != quad_list.BackToFrontEnd(); ++it) |
| 341 EXPECT_TRUE(it->ShouldDrawWithBlending()); | 340 EXPECT_TRUE(it->ShouldDrawWithBlending()); |
| 342 } | 341 } |
| 343 } | 342 } |
| 344 | 343 |
| 345 } // namespace | 344 } // namespace |
| 346 } // namespace cc | 345 } // namespace cc |
| OLD | NEW |