diff options
author | Zeno Albisser <zeno.albisser@digia.com> | 2013-08-15 21:46:11 +0200 |
---|---|---|
committer | Zeno Albisser <zeno.albisser@digia.com> | 2013-08-15 21:46:11 +0200 |
commit | 679147eead574d186ebf3069647b4c23e8ccace6 (patch) | |
tree | fc247a0ac8ff119f7c8550879ebb6d3dd8d1ff69 /chromium/cc/layers/paint_properties.h | |
download | qtwebengine-chromium-679147eead574d186ebf3069647b4c23e8ccace6.tar.gz |
Initial import.
Diffstat (limited to 'chromium/cc/layers/paint_properties.h')
-rw-r--r-- | chromium/cc/layers/paint_properties.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/chromium/cc/layers/paint_properties.h b/chromium/cc/layers/paint_properties.h new file mode 100644 index 00000000000..323e9499edb --- /dev/null +++ b/chromium/cc/layers/paint_properties.h @@ -0,0 +1,23 @@ +// Copyright 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CC_LAYERS_PAINT_PROPERTIES_H_ +#define CC_LAYERS_PAINT_PROPERTIES_H_ + +#include "ui/gfx/size.h" + +namespace cc { + +// Container for properties that layers need to save before they can be paint. +struct CC_EXPORT PaintProperties { + PaintProperties() : source_frame_number(-1) {} + + gfx::Size bounds; + + int source_frame_number; +}; + +} // namespace cc + +#endif // CC_LAYERS_PAINT_PROPERTIES_H_ |