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

Unified Diff: ash/common/shelf/wm_shelf.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.h
diff --git a/ash/common/shelf/wm_shelf.h b/ash/common/shelf/wm_shelf.h
index ee88e94b1525b44d9b1dd9bcec0e70e3596a4705..357b3ca1df4f08bd958211b10f9743c8c9acdf0a 100644
--- a/ash/common/shelf/wm_shelf.h
+++ b/ash/common/shelf/wm_shelf.h
@@ -14,6 +14,7 @@
namespace gfx {
class Rect;
+enum class AnimationChangeType;
}
namespace ui {
@@ -146,7 +147,7 @@ class ASH_EXPORT WmShelf : public ShelfLayoutManagerObserver {
void WillChangeVisibilityState(ShelfVisibilityState new_state) override;
void OnAutoHideStateChanged(ShelfAutoHideState new_state) override;
void OnBackgroundUpdated(ShelfBackgroundType background_type,
- BackgroundAnimatorChangeType change_type) override;
+ gfx::AnimationChangeType change_type) override;
private:
class AutoHideEventHandler;

Powered by Google App Engine
This is Rietveld 408576698