Chromium Code Reviews| Index: chrome/browser/ui/app_list/app_list_util.h |
| diff --git a/chrome/browser/ui/app_list/app_list_util.h b/chrome/browser/ui/app_list/app_list_util.h |
| index 82e3bac1894d534bbcb967183745784153dfd423..ad3396ead18243abdcebce82773984a1be7c855f 100644 |
| --- a/chrome/browser/ui/app_list/app_list_util.h |
| +++ b/chrome/browser/ui/app_list/app_list_util.h |
| @@ -5,13 +5,38 @@ |
| #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_ |
| #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_UTIL_H_ |
| +class FilePath; |
| +class PrefServiceSimple; |
| +class Profile; |
| + |
| namespace chrome { |
| +// TODO(koz/benwells): These functions need to be put somewhere more |
| +// specific than the chrome namespace. |
| + |
| // Do any once off initialization needed for the app list. |
| -void InitAppList(); |
| +void InitAppList(Profile* profile); |
| // Show the app list. |
| -void ShowAppList(); |
| +void ShowAppList(Profile* profile); |
| + |
| +// Register local state preferences for the app list. |
| +void RegisterAppListPrefs(PrefServiceSimple* prefs); |
| + |
| +// Change the profile that the app list is showing. |
| +void SetAppListProfile(const FilePath& profile_file_path); |
| + |
| +// Get the path of the profile to be used with the app list. |
| +FilePath GetAppListProfilePath(const FilePath& user_data_dir); |
| + |
| +// Dismiss the app list. |
| +void DismissAppList(); |
| + |
| +// Get the profile the app list is currently showing. |
| +Profile* GetCurrentAppListProfile(); |
| + |
| +// Returns true if the app list is visible. |
|
tapted
2013/01/26 01:10:08
perhaps a note that this is only used for tests
koz (OOO until 15th September)
2013/01/29 00:34:11
I think it might have uses outside testing later s
|
| +bool IsAppListVisible(); |
| } // namespace chrome |