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

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

Issue 1009233002: CC Animations: Port Impl-only-scrolling to use compositor animation timelines. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ui
Patch Set: Fix code review issues. Created 5 years, 5 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 17 matching lines...) Expand all
28 virtual void SetLayerOpacityMutated(int layer_id, 28 virtual void SetLayerOpacityMutated(int layer_id,
29 LayerTreeType tree_type, 29 LayerTreeType tree_type,
30 float opacity) = 0; 30 float opacity) = 0;
31 virtual void SetLayerTransformMutated(int layer_id, 31 virtual void SetLayerTransformMutated(int layer_id,
32 LayerTreeType tree_type, 32 LayerTreeType tree_type,
33 const gfx::Transform& transform) = 0; 33 const gfx::Transform& transform) = 0;
34 virtual void SetLayerScrollOffsetMutated( 34 virtual void SetLayerScrollOffsetMutated(
35 int layer_id, 35 int layer_id,
36 LayerTreeType tree_type, 36 LayerTreeType tree_type,
37 const gfx::ScrollOffset& scroll_offset) = 0; 37 const gfx::ScrollOffset& scroll_offset) = 0;
38
39 virtual void ScrollOffsetAnimationFinished() = 0;
40 virtual gfx::ScrollOffset GetScrollOffsetForAnimation(int layer_id) const = 0;
38 }; 41 };
39 42
40 } // namespace cc 43 } // namespace cc
41 44
42 #endif // CC_TREES_MUTATOR_HOST_CLIENT_H_ 45 #endif // CC_TREES_MUTATOR_HOST_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698