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

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

Issue 22354002: Remove SetModel in ContentsView and SearchBoxView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove AppListModel stuff from SearchBoxView Created 7 years, 4 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 | « ui/app_list/views/contents_view.cc ('k') | ui/app_list/views/search_box_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..439a4cf291b2cbd0eb4b999f4f5d4584b582ee39 100644
--- a/ui/app_list/views/search_box_view.h
+++ b/ui/app_list/views/search_box_view.h
@@ -22,6 +22,7 @@ namespace app_list {
class AppListMenuViews;
class AppListViewDelegate;
+class AppListModel;
class SearchBoxModel;
class SearchBoxViewDelegate;
@@ -35,11 +36,10 @@ class SearchBoxView : public views::View,
public SearchBoxModelObserver {
public:
SearchBoxView(SearchBoxViewDelegate* delegate,
- AppListViewDelegate* view_delegate);
+ AppListViewDelegate* view_delegate,
+ AppListModel* model);
virtual ~SearchBoxView();
- void SetModel(SearchBoxModel* model);
-
bool HasSearch() const;
void ClearSearch();
void InvalidateMenu();
« no previous file with comments | « ui/app_list/views/contents_view.cc ('k') | ui/app_list/views/search_box_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698