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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 ElementListType list_type, | 280 ElementListType list_type, |
281 const gfx::ScrollOffset& scroll_offset) override; | 281 const gfx::ScrollOffset& scroll_offset) override; |
282 void ElementTransformIsAnimatingChanged(ElementId element_id, | 282 void ElementTransformIsAnimatingChanged(ElementId element_id, |
283 ElementListType list_type, | 283 ElementListType list_type, |
284 AnimationChangeType change_type, | 284 AnimationChangeType change_type, |
285 bool is_animating) override; | 285 bool is_animating) override; |
286 void ElementOpacityIsAnimatingChanged(ElementId element_id, | 286 void ElementOpacityIsAnimatingChanged(ElementId element_id, |
287 ElementListType list_type, | 287 ElementListType list_type, |
288 AnimationChangeType change_type, | 288 AnimationChangeType change_type, |
289 bool is_animating) override; | 289 bool is_animating) override; |
| 290 void ElementFilterIsAnimatingChanged(ElementId element_id, |
| 291 ElementListType list_type, |
| 292 AnimationChangeType change_type, |
| 293 bool is_animating) override; |
290 void ScrollOffsetAnimationFinished() override; | 294 void ScrollOffsetAnimationFinished() override; |
291 gfx::ScrollOffset GetScrollOffsetForAnimation( | 295 gfx::ScrollOffset GetScrollOffsetForAnimation( |
292 ElementId element_id) const override; | 296 ElementId element_id) const override; |
293 | 297 |
294 virtual bool PrepareTiles(); | 298 virtual bool PrepareTiles(); |
295 | 299 |
296 // Returns DRAW_SUCCESS unless problems occured preparing the frame, and we | 300 // Returns DRAW_SUCCESS unless problems occured preparing the frame, and we |
297 // should try to avoid displaying the frame. If PrepareToDraw is called, | 301 // should try to avoid displaying the frame. If PrepareToDraw is called, |
298 // DidDrawAllLayers must also be called, regardless of whether DrawLayers is | 302 // DidDrawAllLayers must also be called, regardless of whether DrawLayers is |
299 // called between the two. | 303 // called between the two. |
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
849 | 853 |
850 std::unique_ptr<PendingTreeDurationHistogramTimer> | 854 std::unique_ptr<PendingTreeDurationHistogramTimer> |
851 pending_tree_duration_timer_; | 855 pending_tree_duration_timer_; |
852 | 856 |
853 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 857 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
854 }; | 858 }; |
855 | 859 |
856 } // namespace cc | 860 } // namespace cc |
857 | 861 |
858 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 862 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |