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

Unified Diff: ash/shelf/shelf_widget.h

Issue 2053113002: Replaced BackgroundAnimator with ShelfBackgroundAnimator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into animate_shelf_chip_backgrounds 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
« no previous file with comments | « ash/shelf/shelf_view_unittest.cc ('k') | ash/shelf/shelf_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/shelf_widget.h
diff --git a/ash/shelf/shelf_widget.h b/ash/shelf/shelf_widget.h
index af6de3defeb81d3fd61485a5edb71f769c09d5db..ccd85d7eef93cb12255fa811f722ad917f5f1293 100644
--- a/ash/shelf/shelf_widget.h
+++ b/ash/shelf/shelf_widget.h
@@ -8,8 +8,8 @@
#include <memory>
#include "ash/ash_export.h"
+#include "ash/common/shelf/shelf_background_animator.h"
#include "ash/common/shelf/shelf_types.h"
-#include "ash/common/wm/background_animator.h"
#include "ash/shelf/shelf_layout_manager_observer.h"
#include "base/macros.h"
#include "ui/views/widget/widget.h"
@@ -59,7 +59,7 @@ class ASH_EXPORT ShelfWidget : public views::Widget,
Shelf* shelf() const { return shelf_.get(); }
StatusAreaWidget* status_area_widget() const { return status_area_widget_; }
- void CreateShelf(WmShelfAura* wm_shelf_aura);
+ void CreateShelf();
void PostCreateShelf();
// Set visibility of the shelf.
@@ -104,6 +104,8 @@ class ASH_EXPORT ShelfWidget : public views::Widget,
void OnMouseEvent(ui::MouseEvent* event) override;
void OnGestureEvent(ui::GestureEvent* event) override;
+ WmShelfAura* wm_shelf_aura_;
+
// Owned by the shelf container's aura::Window.
ShelfLayoutManager* shelf_layout_manager_;
std::unique_ptr<Shelf> shelf_;
@@ -112,7 +114,7 @@ class ASH_EXPORT ShelfWidget : public views::Widget,
// |delegate_view_| is the contents view of this widget and is cleaned up
// during CloseChildWindows of the associated RootWindowController.
DelegateView* delegate_view_;
- BackgroundAnimator background_animator_;
+ ShelfBackgroundAnimator background_animator_;
bool activating_as_fallback_;
DISALLOW_COPY_AND_ASSIGN(ShelfWidget);
« no previous file with comments | « ash/shelf/shelf_view_unittest.cc ('k') | ash/shelf/shelf_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698