| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_MUTATOR_HOST_CLIENT_H_ | 5 #ifndef CC_TREES_MUTATOR_HOST_CLIENT_H_ |
| 6 #define CC_TREES_MUTATOR_HOST_CLIENT_H_ | 6 #define CC_TREES_MUTATOR_HOST_CLIENT_H_ |
| 7 | 7 |
| 8 namespace gfx { | 8 namespace gfx { |
| 9 class Transform; | 9 class Transform; |
| 10 class ScrollOffset; | 10 class ScrollOffset; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 virtual void SetElementScrollOffsetMutated( | 38 virtual void SetElementScrollOffsetMutated( |
| 39 ElementId element_id, | 39 ElementId element_id, |
| 40 ElementListType list_type, | 40 ElementListType list_type, |
| 41 const gfx::ScrollOffset& scroll_offset) = 0; | 41 const gfx::ScrollOffset& scroll_offset) = 0; |
| 42 | 42 |
| 43 virtual void ElementTransformIsPotentiallyAnimatingChanged( | 43 virtual void ElementTransformIsPotentiallyAnimatingChanged( |
| 44 ElementId element_id, | 44 ElementId element_id, |
| 45 ElementListType list_type, | 45 ElementListType list_type, |
| 46 bool is_animating) = 0; | 46 bool is_animating) = 0; |
| 47 | 47 |
| 48 virtual void ElementOpacityIsCurrentlyAnimatingChanged( |
| 49 ElementId element_id, |
| 50 bool is_currently_animating) {} |
| 51 |
| 48 virtual void ScrollOffsetAnimationFinished() = 0; | 52 virtual void ScrollOffsetAnimationFinished() = 0; |
| 49 virtual gfx::ScrollOffset GetScrollOffsetForAnimation( | 53 virtual gfx::ScrollOffset GetScrollOffsetForAnimation( |
| 50 ElementId element_id) const = 0; | 54 ElementId element_id) const = 0; |
| 51 }; | 55 }; |
| 52 | 56 |
| 53 } // namespace cc | 57 } // namespace cc |
| 54 | 58 |
| 55 #endif // CC_TREES_MUTATOR_HOST_CLIENT_H_ | 59 #endif // CC_TREES_MUTATOR_HOST_CLIENT_H_ |
| OLD | NEW |