diff --git a/chromium/components/fullscreen_control/subtle_notification_view.cc b/chromium/components/fullscreen_control/subtle_notification_view.cc index 1d12f5d076cb..32604d49b928 100644 --- a/chromium/components/fullscreen_control/subtle_notification_view.cc +++ b/chromium/components/fullscreen_control/subtle_notification_view.cc @@ -225,10 +225,16 @@ views::Widget* SubtleNotificationView::CreatePopupWidget( // Initialize the popup. views::Widget* popup = new views::Widget; views::Widget::InitParams params(views::Widget::InitParams::TYPE_POPUP); +#if !BUILDFLAG(IS_WIN) + // On Windows, this widget isn't parented on purpose to avoid it being + // obscured by other topmost widgets. See crbug.com/1431043. + // TODO(crbug.com/1459121): Aura should respect the fine-grained levels of + // topmost windows defined in ZOrderLevel. + params.parent = parent_view; +#endif params.opacity = views::Widget::InitParams::WindowOpacity::kTranslucent; params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET; params.z_order = ui::ZOrderLevel::kSecuritySurface; - params.parent = parent_view; params.accept_events = false; popup->Init(std::move(params)); popup->SetContentsView(std::move(view));