| 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 24 matching lines...) Expand all Loading... |
| 35 ElementListType list_type, | 35 ElementListType list_type, |
| 36 float opacity) = 0; | 36 float opacity) = 0; |
| 37 virtual void SetElementTransformMutated(ElementId element_id, | 37 virtual void SetElementTransformMutated(ElementId element_id, |
| 38 ElementListType list_type, | 38 ElementListType list_type, |
| 39 const gfx::Transform& transform) = 0; | 39 const gfx::Transform& transform) = 0; |
| 40 virtual void SetElementScrollOffsetMutated( | 40 virtual void SetElementScrollOffsetMutated( |
| 41 ElementId element_id, | 41 ElementId element_id, |
| 42 ElementListType list_type, | 42 ElementListType list_type, |
| 43 const gfx::ScrollOffset& scroll_offset) = 0; | 43 const gfx::ScrollOffset& scroll_offset) = 0; |
| 44 | 44 |
| 45 virtual void ElementTransformIsPotentiallyAnimatingChanged( | 45 virtual void ElementTransformIsAnimatingChanged( |
| 46 ElementId element_id, | 46 ElementId element_id, |
| 47 ElementListType list_type, | 47 ElementListType list_type, |
| 48 AnimationChangeType change_type, |
| 48 bool is_animating) = 0; | 49 bool is_animating) = 0; |
| 49 | 50 |
| 50 virtual void ElementOpacityIsAnimatingChanged(ElementId element_id, | 51 virtual void ElementOpacityIsAnimatingChanged(ElementId element_id, |
| 51 ElementListType list_type, | 52 ElementListType list_type, |
| 52 AnimationChangeType change_type, | 53 AnimationChangeType change_type, |
| 53 bool is_animating) = 0; | 54 bool is_animating) = 0; |
| 54 | 55 |
| 55 virtual void ScrollOffsetAnimationFinished() = 0; | 56 virtual void ScrollOffsetAnimationFinished() = 0; |
| 56 virtual gfx::ScrollOffset GetScrollOffsetForAnimation( | 57 virtual gfx::ScrollOffset GetScrollOffsetForAnimation( |
| 57 ElementId element_id) const = 0; | 58 ElementId element_id) const = 0; |
| 58 }; | 59 }; |
| 59 | 60 |
| 60 } // namespace cc | 61 } // namespace cc |
| 61 | 62 |
| 62 #endif // CC_TREES_MUTATOR_HOST_CLIENT_H_ | 63 #endif // CC_TREES_MUTATOR_HOST_CLIENT_H_ |
| OLD | NEW |