Chromium Code Reviews| Index: ash/app_list/app_list_presenter_delegate.cc |
| diff --git a/ash/app_list/app_list_presenter_delegate.cc b/ash/app_list/app_list_presenter_delegate.cc |
| index 23e902f821671a855f6be6822da0071affbeecc0..adf17f40d7223d542f18690875554491518fd8e0 100644 |
| --- a/ash/app_list/app_list_presenter_delegate.cc |
| +++ b/ash/app_list/app_list_presenter_delegate.cc |
| @@ -15,6 +15,7 @@ |
| #include "ash/shelf/shelf_widget.h" |
| #include "ash/shell.h" |
| #include "ash/wm/maximize_mode/maximize_mode_controller.h" |
| +#include "ash/wm/window_state.h" |
| #include "base/command_line.h" |
| #include "ui/app_list/app_list_constants.h" |
| #include "ui/app_list/app_list_features.h" |
| @@ -119,6 +120,9 @@ void AppListPresenterDelegate::Init(app_list::AppListView* view, |
| if (!app_list::features::IsFullscreenAppListEnabled()) { |
| view->MaybeSetAnchorPoint(GetCenterOfDisplayForWindow( |
| root_window, GetMinimumBoundsHeightForAppList(view))); |
| + } else { |
| + wm::GetWindowState(view->GetWidget()->GetNativeWindow()) |
| + ->set_ignored_by_shelf(!IsSideShelf(root_window)); |
|
oshima
2017/07/13 00:21:54
we should always set this to true, to keep the sam
Muyuan
2017/07/13 01:41:41
Done.
|
| } |
| keyboard::KeyboardController* keyboard_controller = |
| keyboard::KeyboardController::GetInstance(); |