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

Unified Diff: ui/app_list/app_list_model.h

Issue 675053002: Move ContentsView::NamedPage to AppListModel::ShowState. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/ares_move_search_box_up
Patch Set: Created 6 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
« no previous file with comments | « no previous file | ui/app_list/views/app_list_main_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_model.h
diff --git a/ui/app_list/app_list_model.h b/ui/app_list/app_list_model.h
index 07ab33c174bff85d23ecdbeb4111cef75c7018e3..6b7cadfddf4642e9a1698089d94d3132a9ef947a 100644
--- a/ui/app_list/app_list_model.h
+++ b/ui/app_list/app_list_model.h
@@ -39,6 +39,14 @@ class APP_LIST_EXPORT AppListModel : public AppListItemListObserver {
STATUS_SYNCING, // Syncing apps or installing synced apps.
};
+ enum ShowState {
+ SHOW_APPS,
Matt Giuca 2014/10/24 03:23:48 nit: These should be SHOW_STATE_foo.
calamity 2014/10/24 06:26:35 renamed to State.
+ SHOW_SEARCH_RESULTS,
+ SHOW_START,
Matt Giuca 2014/10/24 03:23:48 Should there be a SHOW_STATE_CUSTOM? (Or is that c
calamity 2014/10/24 06:26:35 Yeah, I had it here before. We'll define it when w
+
+ INVALID_SHOW_STATE,
+ };
+
typedef ui::ListModel<SearchResult> SearchResults;
AppListModel();
« no previous file with comments | « no previous file | ui/app_list/views/app_list_main_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698