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 CC_TREES_OCCLUSION_TRACKER_H_ | 5 #ifndef CC_TREES_OCCLUSION_TRACKER_H_ |
6 #define CC_TREES_OCCLUSION_TRACKER_H_ | 6 #define CC_TREES_OCCLUSION_TRACKER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "cc/base/cc_export.h" | |
12 #include "cc/base/simple_enclosed_region.h" | 11 #include "cc/base/simple_enclosed_region.h" |
| 12 #include "cc/cc_export.h" |
13 #include "cc/layers/layer_iterator.h" | 13 #include "cc/layers/layer_iterator.h" |
14 #include "cc/trees/occlusion.h" | 14 #include "cc/trees/occlusion.h" |
15 #include "ui/gfx/geometry/rect.h" | 15 #include "ui/gfx/geometry/rect.h" |
16 | 16 |
17 namespace cc { | 17 namespace cc { |
18 class LayerImpl; | 18 class LayerImpl; |
19 class Region; | 19 class Region; |
20 class RenderSurfaceImpl; | 20 class RenderSurfaceImpl; |
21 | 21 |
22 // This class is used to track occlusion of layers while traversing them in a | 22 // This class is used to track occlusion of layers while traversing them in a |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 | 102 |
103 gfx::Rect screen_space_clip_rect_; | 103 gfx::Rect screen_space_clip_rect_; |
104 gfx::Size minimum_tracking_size_; | 104 gfx::Size minimum_tracking_size_; |
105 | 105 |
106 DISALLOW_COPY_AND_ASSIGN(OcclusionTracker); | 106 DISALLOW_COPY_AND_ASSIGN(OcclusionTracker); |
107 }; | 107 }; |
108 | 108 |
109 } // namespace cc | 109 } // namespace cc |
110 | 110 |
111 #endif // CC_TREES_OCCLUSION_TRACKER_H_ | 111 #endif // CC_TREES_OCCLUSION_TRACKER_H_ |
OLD | NEW |