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 PaintChunkProperties_h | 5 #ifndef PaintChunkProperties_h |
6 #define PaintChunkProperties_h | 6 #define PaintChunkProperties_h |
7 | 7 |
| 8 #include <iosfwd> |
8 #include "platform/graphics/paint/PropertyTreeState.h" | 9 #include "platform/graphics/paint/PropertyTreeState.h" |
9 #include "wtf/Allocator.h" | 10 #include "wtf/Allocator.h" |
10 #include "wtf/Noncopyable.h" | 11 #include "wtf/Noncopyable.h" |
11 #include <iosfwd> | |
12 | 12 |
13 namespace blink { | 13 namespace blink { |
14 | 14 |
15 // The set of paint properties applying to a |PaintChunk|. These properties are | 15 // The set of paint properties applying to a |PaintChunk|. These properties are |
16 // not local-only paint style parameters such as color, but instead represent | 16 // not local-only paint style parameters such as color, but instead represent |
17 // the hierarchy of transforms, clips, and effects that apply to a contiguous | 17 // the hierarchy of transforms, clips, and effects that apply to a contiguous |
18 // chunk of display items. A single DisplayItemClient can generate multiple | 18 // chunk of display items. A single DisplayItemClient can generate multiple |
19 // properties of the same type and this struct represents the total state of all | 19 // properties of the same type and this struct represents the total state of all |
20 // properties for a given |PaintChunk|. | 20 // properties for a given |PaintChunk|. |
21 // | 21 // |
(...skipping 25 matching lines...) Expand all Loading... |
47 return !(a == b); | 47 return !(a == b); |
48 } | 48 } |
49 | 49 |
50 // Redeclared here to avoid ODR issues. | 50 // Redeclared here to avoid ODR issues. |
51 // See platform/testing/PaintPrinters.h. | 51 // See platform/testing/PaintPrinters.h. |
52 void PrintTo(const PaintChunkProperties&, std::ostream*); | 52 void PrintTo(const PaintChunkProperties&, std::ostream*); |
53 | 53 |
54 } // namespace blink | 54 } // namespace blink |
55 | 55 |
56 #endif // PaintChunkProperties_h | 56 #endif // PaintChunkProperties_h |
OLD | NEW |