| Index: ash/wm/system_modal_container_layout_manager.cc
|
| diff --git a/ash/wm/system_modal_container_layout_manager.cc b/ash/wm/system_modal_container_layout_manager.cc
|
| index c6975d97de782d33c28041689d59ad0a81819192..283c9df9409f9a08d9227e0117c230a3f4ce3962 100644
|
| --- a/ash/wm/system_modal_container_layout_manager.cc
|
| +++ b/ash/wm/system_modal_container_layout_manager.cc
|
| @@ -153,6 +153,14 @@ bool SystemModalContainerLayoutManager::CanWindowReceiveEvents(
|
| return wm::GetActivatableWindow(window) == modal_window();
|
| }
|
|
|
| +bool SystemModalContainerLayoutManager::IsModalScreen(
|
| + aura::Window* window) {
|
| + int id = window->parent()->id();
|
| + return (id == internal::kShellWindowId_SystemModalContainer ||
|
| + id == internal::kShellWindowId_LockSystemModalContainer) &&
|
| + window->GetProperty(aura::client::kModalKey) == ui::MODAL_TYPE_NONE;
|
| +}
|
| +
|
| ////////////////////////////////////////////////////////////////////////////////
|
| // SystemModalContainerLayoutManager, private:
|
|
|
|
|