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

Unified Diff: chrome/browser/ui/app_list/app_list_service.h

Issue 1137503005: Add launcherPage.hide() API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mobile Created 5 years, 7 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: chrome/browser/ui/app_list/app_list_service.h
diff --git a/chrome/browser/ui/app_list/app_list_service.h b/chrome/browser/ui/app_list/app_list_service.h
index b8dafd3be32333c6a52cb19002f6a456834aa109..99fbd65c2898852bd407eefc5e2a47f32992500d 100644
--- a/chrome/browser/ui/app_list/app_list_service.h
+++ b/chrome/browser/ui/app_list/app_list_service.h
@@ -100,6 +100,10 @@ class AppListService {
// Shows the app list, and switches to the custom launcher page.
virtual void ShowForCustomLauncherPage(Profile* profile) = 0;
+ // Hides the custom launcher page if it is currently being shown. Does nothing
+ // otherwise.
+ virtual void HideCustomLauncherPage() = 0;
+
// Dismiss the app list.
virtual void DismissAppList() = 0;

Powered by Google App Engine
This is Rietveld 408576698