[email protected] | 445881f | 2013-04-16 01:11:59 | [diff] [blame] | 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 | |||||
heejin.r.chung | d28506ba | 2014-10-23 16:36:20 | [diff] [blame^] | 8 | #include "ui/gfx/geometry/size.h" |
[email protected] | 445881f | 2013-04-16 01:11:59 | [diff] [blame] | 9 | |
10 | namespace cc { | ||||
11 | |||||
12 | // Container for properties that layers need to save before they can be paint. | ||||
13 | struct CC_EXPORT PaintProperties { | ||||
[email protected] | c50b99729 | 2013-08-03 18:44:30 | [diff] [blame] | 14 | PaintProperties() : source_frame_number(-1) {} |
[email protected] | 445881f | 2013-04-16 01:11:59 | [diff] [blame] | 15 | |
16 | gfx::Size bounds; | ||||
[email protected] | c50b99729 | 2013-08-03 18:44:30 | [diff] [blame] | 17 | |
18 | int source_frame_number; | ||||
[email protected] | 445881f | 2013-04-16 01:11:59 | [diff] [blame] | 19 | }; |
20 | |||||
21 | } // namespace cc | ||||
22 | |||||
23 | #endif // CC_LAYERS_PAINT_PROPERTIES_H_ |