Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Side by Side Diff: cc/trees/mutator_host_client.h

Issue 1987123002: cc : Track transform animation changes on transform tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/property_tree.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | cc/trees/property_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698