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

Unified Diff: ash/common/shelf/wm_shelf_observer.h

Issue 2679333002: [ash-md] Remove the number of animators used for the Shelf animations. (Closed)
Patch Set: Addressed comments from patch set 4. Created 3 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
« no previous file with comments | « ash/common/shelf/wm_shelf.cc ('k') | ash/common/wm/background_animator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/wm_shelf_observer.h
diff --git a/ash/common/shelf/wm_shelf_observer.h b/ash/common/shelf/wm_shelf_observer.h
index 808b9952b698046ab637ddde0117af57cab4990c..d137692452cb848f9c368c5599e1159dc408adb2 100644
--- a/ash/common/shelf/wm_shelf_observer.h
+++ b/ash/common/shelf/wm_shelf_observer.h
@@ -6,17 +6,17 @@
#define ASH_COMMON_SHELF_WM_SHELF_OBSERVER_H_
#include "ash/ash_export.h"
-#include "ash/common/wm/background_animator.h"
#include "ash/public/cpp/shelf_types.h"
namespace ash {
+enum class AnimationChangeType;
+
// Used to observe changes to the shelf.
class ASH_EXPORT WmShelfObserver {
public:
- virtual void OnBackgroundTypeChanged(
- ShelfBackgroundType background_type,
- BackgroundAnimatorChangeType change_type) {}
+ virtual void OnBackgroundTypeChanged(ShelfBackgroundType background_type,
+ AnimationChangeType change_type) {}
virtual void WillChangeVisibilityState(ShelfVisibilityState new_state) {}
virtual void OnAutoHideStateChanged(ShelfAutoHideState new_state) {}
virtual void OnShelfIconPositionsChanged() {}
« no previous file with comments | « ash/common/shelf/wm_shelf.cc ('k') | ash/common/wm/background_animator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698