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

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

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: 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/app_list/app_list_controller_delegate.h
diff --git a/chrome/browser/ui/app_list/app_list_controller_delegate.h b/chrome/browser/ui/app_list/app_list_controller_delegate.h
index 9c19c6d02ad0ec931ddef5db89b64058b8d0a089..b6c59692a6c6ac7127096d76a2d10ccfa731fd01 100644
--- a/chrome/browser/ui/app_list/app_list_controller_delegate.h
+++ b/chrome/browser/ui/app_list/app_list_controller_delegate.h
@@ -9,6 +9,7 @@
#include "ui/gfx/native_widget_types.h"
+class FilePath;
class Profile;
namespace extensions {
@@ -64,4 +65,17 @@ class AppListControllerDelegate {
int event_flags) = 0;
};
+namespace chrome {
+
+// Do any once off initialization needed for the app list.
+void InitAppList(Profile* default_profile);
+
+// Show the app list.
+void ShowAppList(Profile* default_profile);
+
+// Change the profile path used for populating the app list.
+void UpdateProfilePath(const FilePath& profile_file_path);
+
+} // namespace chrome
+
#endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698