OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CC_LAYERS_DRAW_PROPERTIES_H_ | 5 #ifndef CC_LAYERS_DRAW_PROPERTIES_H_ |
6 #define CC_LAYERS_DRAW_PROPERTIES_H_ | 6 #define CC_LAYERS_DRAW_PROPERTIES_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
9 #include "cc/trees/occlusion.h" | 11 #include "cc/trees/occlusion.h" |
10 #include "third_party/skia/include/core/SkXfermode.h" | 12 #include "third_party/skia/include/core/SkXfermode.h" |
11 #include "ui/gfx/geometry/rect.h" | 13 #include "ui/gfx/geometry/rect.h" |
12 #include "ui/gfx/transform.h" | 14 #include "ui/gfx/transform.h" |
13 | 15 |
14 namespace cc { | 16 namespace cc { |
15 class LayerImpl; | 17 class LayerImpl; |
16 | 18 |
17 // Container for properties that layers need to compute before they can be | 19 // Container for properties that layers need to compute before they can be |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 float maximum_animation_contents_scale; | 90 float maximum_animation_contents_scale; |
89 | 91 |
90 // The scale during the layer animation start at which content should be | 92 // The scale during the layer animation start at which content should be |
91 // rastered at to be crisp. | 93 // rastered at to be crisp. |
92 float starting_animation_contents_scale; | 94 float starting_animation_contents_scale; |
93 }; | 95 }; |
94 | 96 |
95 } // namespace cc | 97 } // namespace cc |
96 | 98 |
97 #endif // CC_LAYERS_DRAW_PROPERTIES_H_ | 99 #endif // CC_LAYERS_DRAW_PROPERTIES_H_ |
OLD | NEW |