Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / cc / layers / paint_properties.h
blobb57f90f312790016b2a3c5dca2a33de5b8cde0e2
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.
5 #ifndef CC_LAYERS_PAINT_PROPERTIES_H_
6 #define CC_LAYERS_PAINT_PROPERTIES_H_
8 #include "ui/gfx/geometry/size.h"
10 namespace cc {
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) {}
16 gfx::Size bounds;
18 int source_frame_number;
21 } // namespace cc
23 #endif // CC_LAYERS_PAINT_PROPERTIES_H_