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

Unified Diff: chrome/browser/ui/app_list/app_list_view_delegate.h

Issue 11094019: Auto hide app list on Windows when it loses focus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Feedback Created 8 years, 2 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: chrome/browser/ui/app_list/app_list_view_delegate.h
diff --git a/chrome/browser/ui/app_list/app_list_view_delegate.h b/chrome/browser/ui/app_list/app_list_view_delegate.h
index 4d5eed7ab13e9209f3cbfc03e5d8ac7c3f856831..c7bbae50bb97052b9673cb00b09bd67a28b2c6d6 100644
--- a/chrome/browser/ui/app_list/app_list_view_delegate.h
+++ b/chrome/browser/ui/app_list/app_list_view_delegate.h
@@ -19,7 +19,7 @@ class SearchBuilder;
class AppListViewDelegate : public app_list::AppListViewDelegate {
public:
// The delegate will take ownership of the controller.
- explicit AppListViewDelegate(AppListController* controller);
+ explicit AppListViewDelegate(AppListControllerDelegate* controller);
virtual ~AppListViewDelegate();
private:
@@ -35,10 +35,12 @@ class AppListViewDelegate : public app_list::AppListViewDelegate {
int action_index,
int event_flags) OVERRIDE;
virtual void Close() OVERRIDE;
+ virtual void ViewClosing() OVERRIDE;
+ virtual void ViewActivationChanged(bool active) OVERRIDE;
scoped_ptr<AppsModelBuilder> apps_builder_;
scoped_ptr<SearchBuilder> search_builder_;
- scoped_ptr<AppListController> controller_;
+ scoped_ptr<AppListControllerDelegate> controller_;
DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698