OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_CLIP_NODE_H_ | 5 #ifndef CC_TREES_CLIP_NODE_H_ |
6 #define CC_TREES_CLIP_NODE_H_ | 6 #define CC_TREES_CLIP_NODE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "cc/base/cc_export.h" | 10 #include "cc/cc_export.h" |
11 #include "cc/trees/clip_expander.h" | 11 #include "cc/trees/clip_expander.h" |
12 #include "ui/gfx/geometry/rect_f.h" | 12 #include "ui/gfx/geometry/rect_f.h" |
13 | 13 |
14 namespace base { | 14 namespace base { |
15 namespace trace_event { | 15 namespace trace_event { |
16 class TracedValue; | 16 class TracedValue; |
17 } // namespace trace_event | 17 } // namespace trace_event |
18 } // namespace base | 18 } // namespace base |
19 | 19 |
20 namespace cc { | 20 namespace cc { |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 bool resets_clip : 1; | 98 bool resets_clip : 1; |
99 | 99 |
100 bool operator==(const ClipNode& other) const; | 100 bool operator==(const ClipNode& other) const; |
101 | 101 |
102 void AsValueInto(base::trace_event::TracedValue* value) const; | 102 void AsValueInto(base::trace_event::TracedValue* value) const; |
103 }; | 103 }; |
104 | 104 |
105 } // namespace cc | 105 } // namespace cc |
106 | 106 |
107 #endif // CC_TREES_CLIP_NODE_H_ | 107 #endif // CC_TREES_CLIP_NODE_H_ |
OLD | NEW |