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

Unified Diff: ui/app_list/app_list_model.h

Issue 941213003: Add keyboard navigation to the custom launcher page on app list start page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@matt_sb_focus
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
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 56e349c4bbe86048a7f6755900047ffc95937e6d..795322046462a55559edf9fbc07f5fb644a2e2b1 100644
--- a/ui/app_list/app_list_model.h
+++ b/ui/app_list/app_list_model.h
@@ -135,6 +135,13 @@ 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;
+ }
Matt Giuca 2015/02/20 05:49:26 nit: Blank line.
calamity 2015/02/20 06:57:43 Done.
+ 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();
@@ -208,6 +215,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.

Powered by Google App Engine
This is Rietveld 408576698