OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 UI_COMPOSITOR_CLIP_RECORDER_H_ | 5 #ifndef UI_COMPOSITOR_CLIP_RECORDER_H_ |
6 #define UI_COMPOSITOR_CLIP_RECORDER_H_ | 6 #define UI_COMPOSITOR_CLIP_RECORDER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "ui/compositor/compositor_export.h" | 9 #include "ui/compositor/compositor_export.h" |
10 #include "ui/gfx/geometry/rect.h" | 10 #include "ui/gfx/geometry/rect.h" |
11 | 11 |
12 namespace cc { | 12 namespace cc { |
13 class DisplayItem; | |
14 class DisplayItemList; | 13 class DisplayItemList; |
15 } | 14 } |
16 | 15 |
17 namespace gfx { | 16 namespace gfx { |
18 class Path; | 17 class Path; |
19 } | 18 } |
20 | 19 |
21 namespace ui { | 20 namespace ui { |
22 class PaintContext; | 21 class PaintContext; |
23 | 22 |
(...skipping 24 matching lines...) Expand all Loading... |
48 enum : int { kMaxOpCount = 4 }; | 47 enum : int { kMaxOpCount = 4 }; |
49 Closer closers_[kMaxOpCount]; | 48 Closer closers_[kMaxOpCount]; |
50 int num_closers_; | 49 int num_closers_; |
51 | 50 |
52 DISALLOW_COPY_AND_ASSIGN(ClipRecorder); | 51 DISALLOW_COPY_AND_ASSIGN(ClipRecorder); |
53 }; | 52 }; |
54 | 53 |
55 } // namespace ui | 54 } // namespace ui |
56 | 55 |
57 #endif // UI_COMPOSITOR_CLIP_RECORDER_H_ | 56 #endif // UI_COMPOSITOR_CLIP_RECORDER_H_ |
OLD | NEW |