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