| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 gfx::ScrollOffset ScrollOffsetForAnimation() const; | 95 gfx::ScrollOffset ScrollOffsetForAnimation() const; |
| 96 void OnTransformIsCurrentlyAnimatingChanged(bool is_currently_animating); | 96 void OnTransformIsCurrentlyAnimatingChanged(bool is_currently_animating); |
| 97 void OnTransformIsPotentiallyAnimatingChanged(bool has_potential_animation); | 97 void OnTransformIsPotentiallyAnimatingChanged(bool has_potential_animation); |
| 98 void OnOpacityIsCurrentlyAnimatingChanged(bool is_currently_animating); | 98 void OnOpacityIsCurrentlyAnimatingChanged(bool is_currently_animating); |
| 99 void OnOpacityIsPotentiallyAnimatingChanged(bool has_potential_animation); | 99 void OnOpacityIsPotentiallyAnimatingChanged(bool has_potential_animation); |
| 100 void OnFilterIsCurrentlyAnimatingChanged(bool is_currently_animating); | 100 void OnFilterIsCurrentlyAnimatingChanged(bool is_currently_animating); |
| 101 void OnFilterIsPotentiallyAnimatingChanged(bool has_potential_animation); | 101 void OnFilterIsPotentiallyAnimatingChanged(bool has_potential_animation); |
| 102 bool IsActive() const; | 102 bool IsActive() const; |
| 103 | 103 |
| 104 void DistributeScroll(ScrollState* scroll_state); | 104 void DistributeScroll(ScrollState* scroll_state); |
| 105 void ApplyScroll(ScrollState* scroll_state); |
| 105 | 106 |
| 106 void set_property_tree_sequence_number(int sequence_number) {} | 107 void set_property_tree_sequence_number(int sequence_number) {} |
| 107 | 108 |
| 108 void SetTransformTreeIndex(int index); | 109 void SetTransformTreeIndex(int index); |
| 109 int transform_tree_index() const { return transform_tree_index_; } | 110 int transform_tree_index() const { return transform_tree_index_; } |
| 110 | 111 |
| 111 void SetClipTreeIndex(int index); | 112 void SetClipTreeIndex(int index); |
| 112 int clip_tree_index() const { return clip_tree_index_; } | 113 int clip_tree_index() const { return clip_tree_index_; } |
| 113 | 114 |
| 114 void SetEffectTreeIndex(int index); | 115 void SetEffectTreeIndex(int index); |
| (...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 bool scrolls_drawn_descendant_ : 1; | 576 bool scrolls_drawn_descendant_ : 1; |
| 576 bool has_will_change_transform_hint_ : 1; | 577 bool has_will_change_transform_hint_ : 1; |
| 577 bool needs_push_properties_ : 1; | 578 bool needs_push_properties_ : 1; |
| 578 | 579 |
| 579 DISALLOW_COPY_AND_ASSIGN(LayerImpl); | 580 DISALLOW_COPY_AND_ASSIGN(LayerImpl); |
| 580 }; | 581 }; |
| 581 | 582 |
| 582 } // namespace cc | 583 } // namespace cc |
| 583 | 584 |
| 584 #endif // CC_LAYERS_LAYER_IMPL_H_ | 585 #endif // CC_LAYERS_LAYER_IMPL_H_ |
| OLD | NEW |