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

Unified Diff: chrome/browser/ui/ash/app_list/app_list_controller_ash.cc

Issue 11968034: Enable profile switching for standalone App Launcher via the Settings App. (Closed) Base URL: git://nomatter.syd/chromium/src.git@master
Patch Set: private Created 7 years, 11 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/ash/app_list/app_list_controller_ash.cc
diff --git a/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc b/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
index 865e297879c3a34dd3390de5f9ddbb26303831b5..8aee7530a25d9c978b03a9f8245ae7426024cb9d 100644
--- a/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
+++ b/chrome/browser/ui/ash/app_list/app_list_controller_ash.cc
@@ -68,9 +68,13 @@ void AppListControllerDelegateAsh::LaunchApp(
namespace chrome {
#if defined(OS_CHROMEOS)
-void ShowAppList() {
+void ShowAppList(Profile* default_profile) {
ash::Shell::GetInstance()->ToggleAppList(NULL);
}
#endif
+bool IsAppListVisible() {
+ return ash::Shell::GetInstance()->GetAppListWindow() != NULL;
+}
+
} // namespace chrome
« no previous file with comments | « chrome/browser/ui/app_list/app_list_view_delegate.cc ('k') | chrome/browser/ui/ash/chrome_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698