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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 virtual void CommitComplete(); | 236 virtual void CommitComplete(); |
237 virtual void UpdateAnimationState(bool start_ready_animations); | 237 virtual void UpdateAnimationState(bool start_ready_animations); |
238 bool Mutate(base::TimeTicks monotonic_time); | 238 bool Mutate(base::TimeTicks monotonic_time); |
239 void ActivateAnimations(); | 239 void ActivateAnimations(); |
240 void Animate(); | 240 void Animate(); |
241 void AnimatePendingTreeAfterCommit(); | 241 void AnimatePendingTreeAfterCommit(); |
242 void MainThreadHasStoppedFlinging(); | 242 void MainThreadHasStoppedFlinging(); |
243 void DidAnimateScrollOffset(); | 243 void DidAnimateScrollOffset(); |
244 void SetViewportDamage(const gfx::Rect& damage_rect); | 244 void SetViewportDamage(const gfx::Rect& damage_rect); |
245 | 245 |
246 void SetTreeLayerFilterMutated(int layer_id, | 246 void SetTreeLayerFilterMutated(ElementId element_id, |
247 LayerTreeImpl* tree, | 247 LayerTreeImpl* tree, |
248 const FilterOperations& filters); | 248 const FilterOperations& filters); |
249 void SetTreeLayerOpacityMutated(int layer_id, | 249 void SetTreeLayerOpacityMutated(ElementId element_id, |
250 LayerTreeImpl* tree, | 250 LayerTreeImpl* tree, |
251 float opacity); | 251 float opacity); |
252 void SetTreeLayerTransformMutated(int layer_id, | 252 void SetTreeLayerTransformMutated(ElementId element_id, |
253 LayerTreeImpl* tree, | 253 LayerTreeImpl* tree, |
254 const gfx::Transform& transform); | 254 const gfx::Transform& transform); |
255 void SetTreeLayerScrollOffsetMutated(int layer_id, | 255 void SetTreeLayerScrollOffsetMutated(ElementId element_id, |
256 LayerTreeImpl* tree, | 256 LayerTreeImpl* tree, |
257 const gfx::ScrollOffset& scroll_offset); | 257 const gfx::ScrollOffset& scroll_offset); |
258 bool AnimationsPreserveAxisAlignment(const LayerImpl* layer) const; | 258 bool AnimationsPreserveAxisAlignment(const LayerImpl* layer) const; |
259 | 259 |
260 // MutatorHostClient implementation. | 260 // MutatorHostClient implementation. |
261 bool IsElementInList(ElementId element_id, | 261 bool IsElementInList(ElementId element_id, |
262 ElementListType list_type) const override; | 262 ElementListType list_type) const override; |
263 void SetMutatorsNeedCommit() override; | 263 void SetMutatorsNeedCommit() override; |
264 void SetMutatorsNeedRebuildPropertyTrees() override; | 264 void SetMutatorsNeedRebuildPropertyTrees() override; |
265 void SetElementFilterMutated(ElementId element_id, | 265 void SetElementFilterMutated(ElementId element_id, |
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
860 fixed_raster_scale_attempted_scale_change_history_; | 860 fixed_raster_scale_attempted_scale_change_history_; |
861 std::unique_ptr<PendingTreeDurationHistogramTimer> | 861 std::unique_ptr<PendingTreeDurationHistogramTimer> |
862 pending_tree_duration_timer_; | 862 pending_tree_duration_timer_; |
863 | 863 |
864 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 864 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
865 }; | 865 }; |
866 | 866 |
867 } // namespace cc | 867 } // namespace cc |
868 | 868 |
869 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 869 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |