Chromium Code Reviews| Index: ash/wm/app_list_controller.cc |
| diff --git a/ash/wm/app_list_controller.cc b/ash/wm/app_list_controller.cc |
| index 45a6bcf2fa30d3847bdeba1555f109029e7590f1..8c462bc5eb713e83937816566c220468c38a4f5a 100644 |
| --- a/ash/wm/app_list_controller.cc |
| +++ b/ash/wm/app_list_controller.cc |
| @@ -4,6 +4,8 @@ |
| #include "ash/wm/app_list_controller.h" |
| +#include <algorithm> |
| + |
|
benwells
2013/08/01 22:53:12
Nit: Why the new include? Is it for iwyu for exist
xiyuan
2013/08/01 23:18:28
Yep, it's for the std::min/max in existing code. R
|
| #include "ash/ash_switches.h" |
| #include "ash/launcher/launcher.h" |
| #include "ash/root_window_controller.h" |
| @@ -209,6 +211,11 @@ void AppListController::SetDragAndDropHostOfCurrentAppList( |
| view_->SetDragAndDropHostOfCurrentAppList(drag_and_drop_host); |
| } |
| +void AppListController::ShowAppsGrid() { |
| + if (view_ && is_visible_) |
| + view_->ShowAppsGrid(); |
| +} |
| + |
| //////////////////////////////////////////////////////////////////////////////// |
| // AppListController, private: |