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