| 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 "config.h" | |
| 6 | |
| 7 #include "cc/occlusion_tracker.h" | 5 #include "cc/occlusion_tracker.h" |
| 8 | 6 |
| 9 #include "cc/layer.h" | 7 #include "cc/layer.h" |
| 10 #include "cc/layer_animation_controller.h" | 8 #include "cc/layer_animation_controller.h" |
| 11 #include "cc/layer_impl.h" | 9 #include "cc/layer_impl.h" |
| 12 #include "cc/layer_tree_host_common.h" | 10 #include "cc/layer_tree_host_common.h" |
| 13 #include "cc/math_util.h" | 11 #include "cc/math_util.h" |
| 14 #include "cc/overdraw_metrics.h" | 12 #include "cc/overdraw_metrics.h" |
| 15 #include "cc/single_thread_proxy.h" | 13 #include "cc/single_thread_proxy.h" |
| 16 #include "cc/test/animation_test_common.h" | 14 #include "cc/test/animation_test_common.h" |
| (...skipping 3056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3073 this->visitLayer(large, occlusion); | 3071 this->visitLayer(large, occlusion); |
| 3074 | 3072 |
| 3075 EXPECT_EQ(gfx::Rect(gfx::Point(), trackingSize).ToString(), occlusion.oc
clusionInScreenSpace().ToString()); | 3073 EXPECT_EQ(gfx::Rect(gfx::Point(), trackingSize).ToString(), occlusion.oc
clusionInScreenSpace().ToString()); |
| 3076 EXPECT_EQ(gfx::Rect(gfx::Point(), trackingSize).ToString(), occlusion.oc
clusionInTargetSurface().ToString()); | 3074 EXPECT_EQ(gfx::Rect(gfx::Point(), trackingSize).ToString(), occlusion.oc
clusionInTargetSurface().ToString()); |
| 3077 } | 3075 } |
| 3078 }; | 3076 }; |
| 3079 | 3077 |
| 3080 ALL_OCCLUSIONTRACKER_TEST(OcclusionTrackerTestMinimumTrackingSize); | 3078 ALL_OCCLUSIONTRACKER_TEST(OcclusionTrackerTestMinimumTrackingSize); |
| 3081 | 3079 |
| 3082 } // anonymous namespace | 3080 } // anonymous namespace |
| OLD | NEW |