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

Unified Diff: ash/common/shelf/shelf_widget.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/shelf_widget.h
diff --git a/ash/common/shelf/shelf_widget.h b/ash/common/shelf/shelf_widget.h
index 995ef8ce17be269da93adfef3a72653eda4ec652..fbc1a80b59212ffd312f926b29f89a2c790d6962 100644
--- a/ash/common/shelf/shelf_widget.h
+++ b/ash/common/shelf/shelf_widget.h
@@ -20,6 +20,10 @@ namespace app_list {
class ApplicationDragAndDropHost;
}
+namespace gfx {
+enum class AnimationChangeType;
+}
+
namespace ash {
class AppListButton;
class FocusCycler;
@@ -46,7 +50,7 @@ class ASH_EXPORT ShelfWidget : public views::Widget,
// Sets the shelf's background type.
void SetPaintsBackground(ShelfBackgroundType background_type,
- BackgroundAnimatorChangeType change_type);
+ gfx::AnimationChangeType change_type);
ShelfBackgroundType GetBackgroundType() const;
// Hide the shelf behind a black bar during e.g. a user transition when |hide|

Powered by Google App Engine
This is Rietveld 408576698