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

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

Issue 1957533002: cc : Track opacity animation changes on effect 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
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 27 matching lines...) Expand all
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698