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

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 review comments and updated ShelfBackgroundAnimator::animator_ lifetime. 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
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..6ecc3d788de5e7cdf9e5de6e2c08f359fb5279c0 100644
--- a/ash/common/shelf/wm_shelf_observer.h
+++ b/ash/common/shelf/wm_shelf_observer.h
@@ -6,17 +6,16 @@
#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"
+#include "ui/gfx/animation/animation_change_type.h"
namespace ash {
// 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,
+ gfx::AnimationChangeType change_type) {}
James Cook 2017/02/10 21:17:34 optional: forward declare
bruthig 2017/02/10 22:45:36 Done.
virtual void WillChangeVisibilityState(ShelfVisibilityState new_state) {}
virtual void OnAutoHideStateChanged(ShelfAutoHideState new_state) {}
virtual void OnShelfIconPositionsChanged() {}

Powered by Google App Engine
This is Rietveld 408576698