blob: b57f90f312790016b2a3c5dca2a33de5b8cde0e2 [file] [log] [blame]
[email protected]445881f2013-04-16 01:11:591// 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.chungd28506ba2014-10-23 16:36:208#include "ui/gfx/geometry/size.h"
[email protected]445881f2013-04-16 01:11:599
10namespace cc {
11
12// Container for properties that layers need to save before they can be paint.
13struct CC_EXPORT PaintProperties {
[email protected]c50b997292013-08-03 18:44:3014 PaintProperties() : source_frame_number(-1) {}
[email protected]445881f2013-04-16 01:11:5915
16 gfx::Size bounds;
[email protected]c50b997292013-08-03 18:44:3017
18 int source_frame_number;
[email protected]445881f2013-04-16 01:11:5919};
20
21} // namespace cc
22
23#endif // CC_LAYERS_PAINT_PROPERTIES_H_