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 #ifndef CCOcclusionTracker_h | 5 #ifndef CCOcclusionTracker_h |
6 #define CCOcclusionTracker_h | 6 #define CCOcclusionTracker_h |
7 | 7 |
8 #include "FloatQuad.h" | |
9 #include "Region.h" | 8 #include "Region.h" |
10 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
11 #include "cc/layer_iterator.h" | 10 #include "cc/layer_iterator.h" |
12 #include "ui/gfx/rect.h" | 11 #include "ui/gfx/rect.h" |
13 | 12 |
14 namespace cc { | 13 namespace cc { |
15 class OverdrawMetrics; | 14 class OverdrawMetrics; |
16 class LayerImpl; | 15 class LayerImpl; |
17 class RenderSurfaceImpl; | 16 class RenderSurfaceImpl; |
18 class Layer; | 17 class Layer; |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 | 97 |
99 DISALLOW_COPY_AND_ASSIGN(OcclusionTrackerBase); | 98 DISALLOW_COPY_AND_ASSIGN(OcclusionTrackerBase); |
100 }; | 99 }; |
101 | 100 |
102 typedef OcclusionTrackerBase<Layer, RenderSurface> OcclusionTracker; | 101 typedef OcclusionTrackerBase<Layer, RenderSurface> OcclusionTracker; |
103 typedef OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl> OcclusionTrackerImpl; | 102 typedef OcclusionTrackerBase<LayerImpl, RenderSurfaceImpl> OcclusionTrackerImpl; |
104 | 103 |
105 } // namespace cc | 104 } // namespace cc |
106 | 105 |
107 #endif // CCOcclusionTracker_h | 106 #endif // CCOcclusionTracker_h |
OLD | NEW |