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_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_ |
6 #define CC_TREES_LAYER_TREE_HOST_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 ElementListType list_type, | 372 ElementListType list_type, |
373 const gfx::Transform& transform) override; | 373 const gfx::Transform& transform) override; |
374 void SetElementScrollOffsetMutated( | 374 void SetElementScrollOffsetMutated( |
375 ElementId element_id, | 375 ElementId element_id, |
376 ElementListType list_type, | 376 ElementListType list_type, |
377 const gfx::ScrollOffset& scroll_offset) override; | 377 const gfx::ScrollOffset& scroll_offset) override; |
378 void ElementTransformIsPotentiallyAnimatingChanged( | 378 void ElementTransformIsPotentiallyAnimatingChanged( |
379 ElementId element_id, | 379 ElementId element_id, |
380 ElementListType list_type, | 380 ElementListType list_type, |
381 bool is_animating) override; | 381 bool is_animating) override; |
| 382 void ElementOpacityIsAnimatingChanged(ElementId element_id, |
| 383 ElementListType list_type, |
| 384 AnimationChangeType change_type, |
| 385 bool is_animating) override; |
382 void ScrollOffsetAnimationFinished() override {} | 386 void ScrollOffsetAnimationFinished() override {} |
383 gfx::ScrollOffset GetScrollOffsetForAnimation( | 387 gfx::ScrollOffset GetScrollOffsetForAnimation( |
384 ElementId element_id) const override; | 388 ElementId element_id) const override; |
385 | 389 |
386 bool ScrollOffsetAnimationWasInterrupted(const Layer* layer) const; | 390 bool ScrollOffsetAnimationWasInterrupted(const Layer* layer) const; |
387 bool IsAnimatingFilterProperty(const Layer* layer) const; | 391 bool IsAnimatingFilterProperty(const Layer* layer) const; |
388 bool IsAnimatingOpacityProperty(const Layer* layer) const; | 392 bool IsAnimatingOpacityProperty(const Layer* layer) const; |
389 bool IsAnimatingTransformProperty(const Layer* layer) const; | 393 bool IsAnimatingTransformProperty(const Layer* layer) const; |
390 bool HasPotentiallyRunningFilterAnimation(const Layer* layer) const; | 394 bool HasPotentiallyRunningFilterAnimation(const Layer* layer) const; |
391 bool HasPotentiallyRunningOpacityAnimation(const Layer* layer) const; | 395 bool HasPotentiallyRunningOpacityAnimation(const Layer* layer) const; |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
586 | 590 |
587 uint32_t surface_id_namespace_; | 591 uint32_t surface_id_namespace_; |
588 uint32_t next_surface_sequence_; | 592 uint32_t next_surface_sequence_; |
589 | 593 |
590 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); | 594 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
591 }; | 595 }; |
592 | 596 |
593 } // namespace cc | 597 } // namespace cc |
594 | 598 |
595 #endif // CC_TREES_LAYER_TREE_HOST_H_ | 599 #endif // CC_TREES_LAYER_TREE_HOST_H_ |
OLD | NEW |