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

Unified Diff: cc/animation/layer_animation_value_observer.h

Issue 1904653002: CC Animation: Merge LayerAnimationController into ElementAnimations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor optimization: Don't init value observations if same host. Created 4 years, 8 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
« no previous file with comments | « cc/animation/layer_animation_controller_unittest.cc ('k') | cc/animation/layer_animation_value_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/layer_animation_value_observer.h
diff --git a/cc/animation/layer_animation_value_observer.h b/cc/animation/layer_animation_value_observer.h
deleted file mode 100644
index 5228356b9c72781ae86749123eb88971fbd0477e..0000000000000000000000000000000000000000
--- a/cc/animation/layer_animation_value_observer.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2012 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_ANIMATION_LAYER_ANIMATION_VALUE_OBSERVER_H_
-#define CC_ANIMATION_LAYER_ANIMATION_VALUE_OBSERVER_H_
-
-#include "cc/base/cc_export.h"
-#include "cc/trees/mutator_host_client.h"
-
-namespace gfx {
-class ScrollOffset;
-class Transform;
-}
-
-namespace cc {
-
-class FilterOperations;
-
-class CC_EXPORT LayerAnimationValueObserver {
- public:
- virtual ~LayerAnimationValueObserver() {}
-
- virtual void OnFilterAnimated(LayerTreeType tree_type,
- const FilterOperations& filters) = 0;
- virtual void OnOpacityAnimated(LayerTreeType tree_type, float opacity) = 0;
- virtual void OnTransformAnimated(LayerTreeType tree_type,
- const gfx::Transform& transform) = 0;
- virtual void OnScrollOffsetAnimated(
- LayerTreeType tree_type,
- const gfx::ScrollOffset& scroll_offset) = 0;
- virtual void OnAnimationWaitingForDeletion() = 0;
- virtual void OnTransformIsPotentiallyAnimatingChanged(LayerTreeType tree_type,
- bool is_animating) = 0;
-};
-
-} // namespace cc
-
-#endif // CC_ANIMATION_LAYER_ANIMATION_VALUE_OBSERVER_H_
« no previous file with comments | « cc/animation/layer_animation_controller_unittest.cc ('k') | cc/animation/layer_animation_value_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698