| Index: ash/mus/non_client_frame_controller.cc
|
| diff --git a/ash/mus/non_client_frame_controller.cc b/ash/mus/non_client_frame_controller.cc
|
| index b0a804582f939b90d8603faa7624d6967446815b..b3bc8527b4cb9342debf23bce8e95ba1473e2e93 100644
|
| --- a/ash/mus/non_client_frame_controller.cc
|
| +++ b/ash/mus/non_client_frame_controller.cc
|
| @@ -13,6 +13,7 @@
|
| #include "ash/common/ash_constants.h"
|
| #include "ash/common/ash_layout_constants.h"
|
| #include "ash/common/frame/custom_frame_view_ash.h"
|
| +#include "ash/common/wm/panels/panel_frame_view.h"
|
| #include "ash/mus/bridge/wm_window_mus.h"
|
| #include "ash/mus/frame/custom_frame_view_mus.h"
|
| #include "ash/mus/frame/detached_title_area_renderer.h"
|
| @@ -231,6 +232,8 @@ class WmNativeWidgetMus : public views::NativeWidgetMus {
|
| window(), window_manager_client_, GetNativeView()));
|
| if (ShouldRemoveStandardFrame(window()))
|
| return new EmptyDraggableNonClientFrameView();
|
| + if (GetWindowType(window()) == ui::mojom::WindowType::PANEL)
|
| + return new PanelFrameView(GetWidget(), PanelFrameView::FRAME_ASH);
|
| immersive_delegate_.reset(
|
| new ImmersiveFullscreenControllerDelegateMus(GetWidget(), window()));
|
| const bool enable_immersive =
|
|
|