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

Unified Diff: cc/trees/layer_tree_mutators_client.h

Issue 947033002: CC Animations: Establish AnimationHost, AnimationTimeline and AnimationPlayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: cc/trees/layer_tree_mutators_client.h
diff --git a/cc/trees/layer_tree_mutators_client.h b/cc/trees/layer_tree_mutators_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..a038bacaabdf4830ee2d8d90f6e8197f443c9a1a
--- /dev/null
+++ b/cc/trees/layer_tree_mutators_client.h
@@ -0,0 +1,36 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CC_TREES_LAYER_TREE_MUTATORS_CLIENT_H_
+#define CC_TREES_LAYER_TREE_MUTATORS_CLIENT_H_
+
+namespace gfx {
+class Transform;
+}
+
+namespace cc {
+
+class AnimationRegistrar;
+class FilterOperations;
+class Layer;
+
+class LayerTreeMutatorsClient {
+ public:
+ virtual AnimationRegistrar* GetAnimationRegistrar() const = 0;
+ virtual void SetMutatorsNeedCommit() = 0;
+
+ virtual void SetLayerFilterMutated(int layer_id,
+ bool active_tree,
+ const FilterOperations& filters) = 0;
+ virtual void SetLayerOpacityMutated(int layer_id,
+ bool active_tree,
+ float opacity) = 0;
+ virtual void SetLayerTransformMutated(int layer_id,
+ bool active_tree,
+ const gfx::Transform& transform) = 0;
+};
+
+} // namespace cc
+
+#endif // CC_TREES_LAYER_TREE_MUTATORS_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698