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