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

Unified Diff: ui/app_list/views/search_box_view.h

Issue 20656002: Add profile selector menu to app list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: small fixups Created 7 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
Index: ui/app_list/views/search_box_view.h
diff --git a/ui/app_list/views/search_box_view.h b/ui/app_list/views/search_box_view.h
index 69b30b444cae1fb24593e66f0750c4bdbc799655..76497fa5d44fe8ce228a7acc074b0daf3cd06a37 100644
--- a/ui/app_list/views/search_box_view.h
+++ b/ui/app_list/views/search_box_view.h
@@ -12,6 +12,8 @@
#include "ui/views/controls/textfield/textfield_controller.h"
#include "ui/views/view.h"
+struct AvatarMenuItemModel;
+
namespace views {
class ImageView;
class MenuButton;
@@ -22,7 +24,7 @@ namespace app_list {
class AppListMenuViews;
class AppListViewDelegate;
-class SearchBoxModel;
+class AppListModel;
class SearchBoxViewDelegate;
// SearchBoxView consists of an icon and a Textfield. SearchBoxModel is its data
@@ -38,7 +40,7 @@ class SearchBoxView : public views::View,
AppListViewDelegate* view_delegate);
virtual ~SearchBoxView();
- void SetModel(SearchBoxModel* model);
+ void SetModel(AppListModel* model);
koz (OOO until 15th September) 2013/08/02 01:51:16 Can we pass this in through the constructor now, a
calamity 2013/08/02 09:59:54 Done.
bool HasSearch() const;
void ClearSearch();
@@ -80,7 +82,7 @@ class SearchBoxView : public views::View,
SearchBoxViewDelegate* delegate_; // Not owned.
AppListViewDelegate* view_delegate_; // Not owned.
- SearchBoxModel* model_; // Owned by AppListModel.
+ AppListModel* model_; // Not owned.
scoped_ptr<AppListMenuViews> menu_;

Powered by Google App Engine
This is Rietveld 408576698