| 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_TREES_LAYER_TREE_HOST_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <bitset> | 10 #include <bitset> |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 virtual void CommitComplete(); | 241 virtual void CommitComplete(); |
| 242 virtual void UpdateAnimationState(bool start_ready_animations); | 242 virtual void UpdateAnimationState(bool start_ready_animations); |
| 243 bool Mutate(base::TimeTicks monotonic_time); | 243 bool Mutate(base::TimeTicks monotonic_time); |
| 244 void ActivateAnimations(); | 244 void ActivateAnimations(); |
| 245 void Animate(); | 245 void Animate(); |
| 246 void AnimatePendingTreeAfterCommit(); | 246 void AnimatePendingTreeAfterCommit(); |
| 247 void MainThreadHasStoppedFlinging(); | 247 void MainThreadHasStoppedFlinging(); |
| 248 void DidAnimateScrollOffset(); | 248 void DidAnimateScrollOffset(); |
| 249 void SetViewportDamage(const gfx::Rect& damage_rect); | 249 void SetViewportDamage(const gfx::Rect& damage_rect); |
| 250 | 250 |
| 251 void SetTreeLayerFilterMutated(int layer_id, | 251 void SetTreeLayerFilterMutated(ElementId element_id, |
| 252 LayerTreeImpl* tree, | 252 LayerTreeImpl* tree, |
| 253 const FilterOperations& filters); | 253 const FilterOperations& filters); |
| 254 void SetTreeLayerOpacityMutated(int layer_id, | 254 void SetTreeLayerOpacityMutated(ElementId element_id, |
| 255 LayerTreeImpl* tree, | 255 LayerTreeImpl* tree, |
| 256 float opacity); | 256 float opacity); |
| 257 void SetTreeLayerTransformMutated(int layer_id, | 257 void SetTreeLayerTransformMutated(ElementId element_id, |
| 258 LayerTreeImpl* tree, | 258 LayerTreeImpl* tree, |
| 259 const gfx::Transform& transform); | 259 const gfx::Transform& transform); |
| 260 void SetTreeLayerScrollOffsetMutated(int layer_id, | 260 void SetTreeLayerScrollOffsetMutated(ElementId element_id, |
| 261 LayerTreeImpl* tree, | 261 LayerTreeImpl* tree, |
| 262 const gfx::ScrollOffset& scroll_offset); | 262 const gfx::ScrollOffset& scroll_offset); |
| 263 bool AnimationsPreserveAxisAlignment(const LayerImpl* layer) const; | 263 bool AnimationsPreserveAxisAlignment(const LayerImpl* layer) const; |
| 264 | 264 |
| 265 // MutatorHostClient implementation. | 265 // MutatorHostClient implementation. |
| 266 bool IsElementInList(ElementId element_id, | 266 bool IsElementInList(ElementId element_id, |
| 267 ElementListType list_type) const override; | 267 ElementListType list_type) const override; |
| 268 void SetMutatorsNeedCommit() override; | 268 void SetMutatorsNeedCommit() override; |
| 269 void SetMutatorsNeedRebuildPropertyTrees() override; | 269 void SetMutatorsNeedRebuildPropertyTrees() override; |
| 270 void SetElementFilterMutated(ElementId element_id, | 270 void SetElementFilterMutated(ElementId element_id, |
| (...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 851 | 851 |
| 852 std::unique_ptr<PendingTreeDurationHistogramTimer> | 852 std::unique_ptr<PendingTreeDurationHistogramTimer> |
| 853 pending_tree_duration_timer_; | 853 pending_tree_duration_timer_; |
| 854 | 854 |
| 855 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 855 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 856 }; | 856 }; |
| 857 | 857 |
| 858 } // namespace cc | 858 } // namespace cc |
| 859 | 859 |
| 860 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 860 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |