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

Unified Diff: ui/app_list/app_list_view.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: cros build 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: ui/app_list/app_list_view.h
diff --git a/ui/app_list/app_list_view.h b/ui/app_list/app_list_view.h
index 89fb1f7cfe90c1083894c2fe6996206e7163d205..7352d115fb0675af84305aab5faa3b32cfb12cfc 100644
--- a/ui/app_list/app_list_view.h
+++ b/ui/app_list/app_list_view.h
@@ -12,6 +12,10 @@
#include "ui/views/bubble/bubble_delegate.h"
#include "ui/views/controls/button/button.h"
+namespace views {
+class Widget;
+}
+
namespace app_list {
class AppListModel;
@@ -73,6 +77,11 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDelegateView,
int action_index,
int event_flags) OVERRIDE;
+ // Overridden from views::WidgetDelegateObserver:
xiyuan 2012/10/09 17:43:15 nit: views::WidgetObserver?
benwells 2012/10/10 00:55:21 Done.
+ virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE;
+ virtual void OnWidgetActivationChanged(views::Widget* widget, bool active)
+ OVERRIDE;
+
scoped_ptr<AppListModel> model_;
scoped_ptr<AppListViewDelegate> delegate_;

Powered by Google App Engine
This is Rietveld 408576698