| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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_LAYER_IMPL_H_ | 5 #ifndef CC_LAYERS_LAYER_IMPL_H_ |
| 6 #define CC_LAYERS_LAYER_IMPL_H_ | 6 #define CC_LAYERS_LAYER_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 | 169 |
| 170 bool FilterIsAnimating() const; | 170 bool FilterIsAnimating() const; |
| 171 bool HasPotentiallyRunningFilterAnimation() const; | 171 bool HasPotentiallyRunningFilterAnimation() const; |
| 172 | 172 |
| 173 void SetMasksToBounds(bool masks_to_bounds); | 173 void SetMasksToBounds(bool masks_to_bounds); |
| 174 bool masks_to_bounds() const { return masks_to_bounds_; } | 174 bool masks_to_bounds() const { return masks_to_bounds_; } |
| 175 | 175 |
| 176 void SetContentsOpaque(bool opaque); | 176 void SetContentsOpaque(bool opaque); |
| 177 bool contents_opaque() const { return contents_opaque_; } | 177 bool contents_opaque() const { return contents_opaque_; } |
| 178 | 178 |
| 179 float Opacity() const; | |
| 180 const gfx::Transform& Transform() const; | 179 const gfx::Transform& Transform() const; |
| 181 | 180 |
| 182 // Stable identifier for clients. See comment in cc/trees/element_id.h. | 181 // Stable identifier for clients. See comment in cc/trees/element_id.h. |
| 183 void SetElementId(ElementId element_id); | 182 void SetElementId(ElementId element_id); |
| 184 ElementId element_id() const { return element_id_; } | 183 ElementId element_id() const { return element_id_; } |
| 185 | 184 |
| 186 void SetMutableProperties(uint32_t properties); | 185 void SetMutableProperties(uint32_t properties); |
| 187 uint32_t mutable_properties() const { return mutable_properties_; } | 186 uint32_t mutable_properties() const { return mutable_properties_; } |
| 188 | 187 |
| 189 void SetPosition(const gfx::PointF& position); | 188 void SetPosition(const gfx::PointF& position); |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 558 bool needs_show_scrollbars_ : 1; | 557 bool needs_show_scrollbars_ : 1; |
| 559 | 558 |
| 560 bool raster_even_if_not_in_rsll_ : 1; | 559 bool raster_even_if_not_in_rsll_ : 1; |
| 561 | 560 |
| 562 DISALLOW_COPY_AND_ASSIGN(LayerImpl); | 561 DISALLOW_COPY_AND_ASSIGN(LayerImpl); |
| 563 }; | 562 }; |
| 564 | 563 |
| 565 } // namespace cc | 564 } // namespace cc |
| 566 | 565 |
| 567 #endif // CC_LAYERS_LAYER_IMPL_H_ | 566 #endif // CC_LAYERS_LAYER_IMPL_H_ |
| OLD | NEW |