OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CC_TREES_LAYER_TREE_MUTATORS_CLIENT_H_ |
| 6 #define CC_TREES_LAYER_TREE_MUTATORS_CLIENT_H_ |
| 7 |
| 8 namespace gfx { |
| 9 class Transform; |
| 10 } |
| 11 |
| 12 namespace cc { |
| 13 |
| 14 class AnimationRegistrar; |
| 15 class FilterOperations; |
| 16 class Layer; |
| 17 |
| 18 class LayerTreeMutatorsClient { |
| 19 public: |
| 20 virtual AnimationRegistrar* GetAnimationRegistrar() const = 0; |
| 21 virtual void SetMutatorsNeedCommit() = 0; |
| 22 |
| 23 virtual void SetLayerFilterMutated(int layer_id, |
| 24 bool active_tree, |
| 25 const FilterOperations& filters) = 0; |
| 26 virtual void SetLayerOpacityMutated(int layer_id, |
| 27 bool active_tree, |
| 28 float opacity) = 0; |
| 29 virtual void SetLayerTransformMutated(int layer_id, |
| 30 bool active_tree, |
| 31 const gfx::Transform& transform) = 0; |
| 32 }; |
| 33 |
| 34 } // namespace cc |
| 35 |
| 36 #endif // CC_TREES_LAYER_TREE_MUTATORS_CLIENT_H_ |
OLD | NEW |