OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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_DAMAGE_TRACKER_H_ | 5 #ifndef CC_TREES_DAMAGE_TRACKER_H_ |
6 #define CC_TREES_DAMAGE_TRACKER_H_ | 6 #define CC_TREES_DAMAGE_TRACKER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "cc/base/cc_export.h" | 12 #include "cc/base/cc_export.h" |
13 #include "cc/layers/layer_collections.h" | 13 #include "cc/layers/layer_collections.h" |
14 #include "ui/gfx/geometry/rect.h" | 14 #include "ui/gfx/geometry/rect.h" |
15 | 15 |
16 class SkImageFilter; | |
17 | |
18 namespace gfx { | 16 namespace gfx { |
19 class Rect; | 17 class Rect; |
20 } | 18 } |
21 | 19 |
22 namespace cc { | 20 namespace cc { |
23 | 21 |
24 class FilterOperations; | 22 class FilterOperations; |
25 class LayerImpl; | 23 class LayerImpl; |
26 class RenderSurfaceImpl; | 24 class RenderSurfaceImpl; |
27 | 25 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 107 |
110 unsigned int mailboxId_; | 108 unsigned int mailboxId_; |
111 gfx::Rect current_damage_rect_; | 109 gfx::Rect current_damage_rect_; |
112 | 110 |
113 DISALLOW_COPY_AND_ASSIGN(DamageTracker); | 111 DISALLOW_COPY_AND_ASSIGN(DamageTracker); |
114 }; | 112 }; |
115 | 113 |
116 } // namespace cc | 114 } // namespace cc |
117 | 115 |
118 #endif // CC_TREES_DAMAGE_TRACKER_H_ | 116 #endif // CC_TREES_DAMAGE_TRACKER_H_ |
OLD | NEW |