| 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..81370663c398cb0a755b2afaa552c474943c76c3 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
|
| @@ -67,10 +67,20 @@ void AppListControllerDelegateAsh::LaunchApp(
|
|
|
| namespace chrome {
|
|
|
| +// In the win_aura build these are defined in app_list_controller_win.cc.
|
| #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;
|
| +}
|
| +
|
| +void DismissAppList() {
|
| + if (IsAppListVisible())
|
| + ash::Shell::GetInstance()->ToggleAppList(NULL);
|
| +}
|
| +#endif // defined(OS_CHROMEOS)
|
|
|
| } // namespace chrome
|
|
|