| 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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 void SetElementOpacityMutated(ElementId element_id, | 279 void SetElementOpacityMutated(ElementId element_id, |
| 280 ElementListType list_type, | 280 ElementListType list_type, |
| 281 float opacity) override; | 281 float opacity) override; |
| 282 void SetElementTransformMutated(ElementId element_id, | 282 void SetElementTransformMutated(ElementId element_id, |
| 283 ElementListType list_type, | 283 ElementListType list_type, |
| 284 const gfx::Transform& transform) override; | 284 const gfx::Transform& transform) override; |
| 285 void SetElementScrollOffsetMutated( | 285 void SetElementScrollOffsetMutated( |
| 286 ElementId element_id, | 286 ElementId element_id, |
| 287 ElementListType list_type, | 287 ElementListType list_type, |
| 288 const gfx::ScrollOffset& scroll_offset) override; | 288 const gfx::ScrollOffset& scroll_offset) override; |
| 289 void ElementTransformIsAnimatingChanged(ElementId element_id, | 289 void ElementIsAnimatingChanged(ElementId element_id, |
| 290 ElementListType list_type, | 290 ElementListType list_type, |
| 291 AnimationChangeType change_type, | 291 const PropertyAnimationState& mask, |
| 292 bool is_animating) override; | 292 const PropertyAnimationState& state) override; |
| 293 void ElementOpacityIsAnimatingChanged(ElementId element_id, | 293 |
| 294 ElementListType list_type, | |
| 295 AnimationChangeType change_type, | |
| 296 bool is_animating) override; | |
| 297 void ElementFilterIsAnimatingChanged(ElementId element_id, | |
| 298 ElementListType list_type, | |
| 299 AnimationChangeType change_type, | |
| 300 bool is_animating) override; | |
| 301 void ScrollOffsetAnimationFinished() override; | 294 void ScrollOffsetAnimationFinished() override; |
| 302 gfx::ScrollOffset GetScrollOffsetForAnimation( | 295 gfx::ScrollOffset GetScrollOffsetForAnimation( |
| 303 ElementId element_id) const override; | 296 ElementId element_id) const override; |
| 304 | 297 |
| 305 virtual bool PrepareTiles(); | 298 virtual bool PrepareTiles(); |
| 306 | 299 |
| 307 // Returns DRAW_SUCCESS unless problems occured preparing the frame, and we | 300 // Returns DRAW_SUCCESS unless problems occured preparing the frame, and we |
| 308 // should try to avoid displaying the frame. If PrepareToDraw is called, | 301 // should try to avoid displaying the frame. If PrepareToDraw is called, |
| 309 // DidDrawAllLayers must also be called, regardless of whether DrawLayers is | 302 // DidDrawAllLayers must also be called, regardless of whether DrawLayers is |
| 310 // called between the two. | 303 // called between the two. |
| (...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 844 | 837 |
| 845 std::unique_ptr<PendingTreeDurationHistogramTimer> | 838 std::unique_ptr<PendingTreeDurationHistogramTimer> |
| 846 pending_tree_duration_timer_; | 839 pending_tree_duration_timer_; |
| 847 | 840 |
| 848 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 841 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 849 }; | 842 }; |
| 850 | 843 |
| 851 } // namespace cc | 844 } // namespace cc |
| 852 | 845 |
| 853 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 846 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |