| Index: chrome/browser/ui/app_list/app_list_controller_delegate.cc
|
| diff --git a/chrome/browser/ui/app_list/app_list_controller_delegate.cc b/chrome/browser/ui/app_list/app_list_controller_delegate.cc
|
| index d9d8ede37e7dfe6d0f40b141b587cac673ed371b..0e9133046426406be2cc237d84576dc82d7a341d 100644
|
| --- a/chrome/browser/ui/app_list/app_list_controller_delegate.cc
|
| +++ b/chrome/browser/ui/app_list/app_list_controller_delegate.cc
|
| @@ -25,6 +25,7 @@
|
| #include "ui/app_list/app_list_folder_item.h"
|
| #include "ui/app_list/app_list_item.h"
|
| #include "ui/app_list/app_list_model.h"
|
| +#include "ui/app_list/app_list_switches.h"
|
| #include "ui/gfx/geometry/rect.h"
|
|
|
| #if defined(ENABLE_RLZ)
|
| @@ -86,6 +87,11 @@ bool AppListControllerDelegate::UserMayModifySettings(
|
| }
|
|
|
| bool AppListControllerDelegate::CanDoShowAppInfoFlow() {
|
| +#if defined(OS_MACOSX)
|
| + // Cocoa app list doesn't yet support the app info dialog.
|
| + if (!app_list::switches::IsMacViewsAppListEnabled())
|
| + return false;
|
| +#endif
|
| return CanShowAppInfoDialog();
|
| }
|
|
|
|
|