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

Unified Diff: ui/app_list/app_list_model.h

Issue 924193005: Add keyboard navigation to the custom launcher page on app list start page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « chrome/browser/ui/app_list/app_list_view_delegate.cc ('k') | ui/app_list/views/start_page_view.h » ('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 256333d3dcb031f2f36689f13721ccd060a08c75..6c61e71d68ebbed73c6a0c9c23dd195ef2ad5cdf 100644
--- a/ui/app_list/app_list_model.h
+++ b/ui/app_list/app_list_model.h
@@ -138,6 +138,14 @@ class APP_LIST_EXPORT AppListModel : public AppListItemListObserver {
return custom_launcher_page_enabled_;
}
+ void set_custom_launcher_page_name(const std::string& name) {
+ custom_launcher_page_name_ = name;
+ }
+
+ const std::string& custom_launcher_page_name() const {
+ return custom_launcher_page_name_;
+ }
+
// Pushes a custom launcher page's subpage into the state stack in the model.
void PushCustomLauncherPageSubpage();
@@ -211,6 +219,7 @@ class APP_LIST_EXPORT AppListModel : public AppListItemListObserver {
ObserverList<AppListModelObserver, true> observers_;
bool folders_enabled_;
bool custom_launcher_page_enabled_;
+ std::string custom_launcher_page_name_;
bool search_engine_is_google_;
// The current number of subpages the custom launcher page has pushed.
« no previous file with comments | « chrome/browser/ui/app_list/app_list_view_delegate.cc ('k') | ui/app_list/views/start_page_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698