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

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: rebase 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 fb18d854710264740b0437b9becdc43f964ff71d..d4843e2090c6e855239014a42e5661097757067b 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 State {
+ STATE_APPS,
+ STATE_SEARCH_RESULTS,
+ STATE_START,
+
+ INVALID_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