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

Unified Diff: ash/shelf/shelf.h

Issue 2053113002: Replaced BackgroundAnimator with ShelfBackgroundAnimator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made the ShelfView add/remove itself as an observer from the ShelfBackgroundAnimator. Created 4 years, 5 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/shelf/shelf.h
diff --git a/ash/shelf/shelf.h b/ash/shelf/shelf.h
index 5cc1fed2c84f20606ad574b688373133013cff94..d86d8e1d52d1c05e64978a0d4be513a777228d9c 100644
--- a/ash/shelf/shelf.h
+++ b/ash/shelf/shelf.h
@@ -37,6 +37,7 @@ class View;
namespace ash {
class AppListButton;
class FocusCycler;
+class ShelfBackgroundAnimator;
class ShelfDelegate;
class ShelfIconObserver;
class ShelfModel;
@@ -55,7 +56,8 @@ class ASH_EXPORT Shelf {
Shelf(ShelfModel* model,
WmShelf* wm_shelf,
- ShelfWidget* widget);
+ ShelfWidget* widget,
+ ShelfBackgroundAnimator* background_animator);
virtual ~Shelf();
James Cook 2016/07/27 17:33:10 Does Shelf have any subclasses? If not, remove vir
bruthig 2016/07/27 18:01:46 Done.
// Return the shelf for the primary display. NULL if no user is logged in yet.

Powered by Google App Engine
This is Rietveld 408576698