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); | |
106 | 105 |
107 void set_property_tree_sequence_number(int sequence_number) {} | 106 void set_property_tree_sequence_number(int sequence_number) {} |
108 | 107 |
109 void SetTransformTreeIndex(int index); | 108 void SetTransformTreeIndex(int index); |
110 int transform_tree_index() const { return transform_tree_index_; } | 109 int transform_tree_index() const { return transform_tree_index_; } |
111 | 110 |
112 void SetClipTreeIndex(int index); | 111 void SetClipTreeIndex(int index); |
113 int clip_tree_index() const { return clip_tree_index_; } | 112 int clip_tree_index() const { return clip_tree_index_; } |
114 | 113 |
115 void SetEffectTreeIndex(int index); | 114 void SetEffectTreeIndex(int index); |
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 bool scrolls_drawn_descendant_ : 1; | 575 bool scrolls_drawn_descendant_ : 1; |
577 bool has_will_change_transform_hint_ : 1; | 576 bool has_will_change_transform_hint_ : 1; |
578 bool needs_push_properties_ : 1; | 577 bool needs_push_properties_ : 1; |
579 | 578 |
580 DISALLOW_COPY_AND_ASSIGN(LayerImpl); | 579 DISALLOW_COPY_AND_ASSIGN(LayerImpl); |
581 }; | 580 }; |
582 | 581 |
583 } // namespace cc | 582 } // namespace cc |
584 | 583 |
585 #endif // CC_LAYERS_LAYER_IMPL_H_ | 584 #endif // CC_LAYERS_LAYER_IMPL_H_ |
OLD | NEW |