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

Unified Diff: ash/app_list/app_list.h

Issue 9677065: ash: Update app list UI to match latest crwm. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 9 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 | « no previous file | ash/app_list/app_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/app_list/app_list.h
diff --git a/ash/app_list/app_list.h b/ash/app_list/app_list.h
index a786c35218c4bee12c4de543700fef34917fd5c2..c7e29f0654bba1381a07f460ed641584a839b8f7 100644
--- a/ash/app_list/app_list.h
+++ b/ash/app_list/app_list.h
@@ -14,6 +14,9 @@
#include "ui/views/widget/widget.h"
namespace ash {
+
+class AppListView;
+
namespace internal {
// AppList is a controller that manages app list UI for shell. To show the UI,
@@ -35,12 +38,12 @@ class AppList : public aura::EventFilter,
bool IsVisible();
private:
- // Sets app list widget. If we are in visible mode, start showing animation.
- // Otherwise, we just close the widget.
- void SetWidget(views::Widget* widget);
+ // Sets app list view. If we are in visible mode, start showing animation.
+ // Otherwise, we just close it.
+ void SetView(AppListView* view);
- // Forgets the widget.
- void ResetWidget();
+ // Forgets the view.
+ void ResetView();
// Starts show/hide animation.
void ScheduleAnimation();
@@ -70,8 +73,8 @@ class AppList : public aura::EventFilter,
// Whether we should show or hide app list widget.
bool is_visible_;
- // App list widget we get from ShellDelegate.
- views::Widget* widget_;
+ // The AppListView this class manages, owned by its widget.
+ AppListView* view_;
DISALLOW_COPY_AND_ASSIGN(AppList);
};
« no previous file with comments | « no previous file | ash/app_list/app_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698