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_LAYERS_PAINT_PROPERTIES_H_ | 5 #ifndef CC_LAYERS_PAINT_PROPERTIES_H_ |
6 #define CC_LAYERS_PAINT_PROPERTIES_H_ | 6 #define CC_LAYERS_PAINT_PROPERTIES_H_ |
7 | 7 |
8 #include "ui/gfx/size.h" | 8 #include "ui/gfx/geometry/size.h" |
9 | 9 |
10 namespace cc { | 10 namespace cc { |
11 | 11 |
12 // Container for properties that layers need to save before they can be paint. | 12 // Container for properties that layers need to save before they can be paint. |
13 struct CC_EXPORT PaintProperties { | 13 struct CC_EXPORT PaintProperties { |
14 PaintProperties() : source_frame_number(-1) {} | 14 PaintProperties() : source_frame_number(-1) {} |
15 | 15 |
16 gfx::Size bounds; | 16 gfx::Size bounds; |
17 | 17 |
18 int source_frame_number; | 18 int source_frame_number; |
19 }; | 19 }; |
20 | 20 |
21 } // namespace cc | 21 } // namespace cc |
22 | 22 |
23 #endif // CC_LAYERS_PAINT_PROPERTIES_H_ | 23 #endif // CC_LAYERS_PAINT_PROPERTIES_H_ |
OLD | NEW |