diff --git a/shell/browser/ui/views/opaque_frame_view.cc b/shell/browser/ui/views/opaque_frame_view.cc index f6b379ca6f5..0207fb0ddeb 100644 --- a/shell/browser/ui/views/opaque_frame_view.cc +++ b/shell/browser/ui/views/opaque_frame_view.cc @@ -135,6 +135,11 @@ gfx::Rect OpaqueFrameView::GetWindowBoundsForClientBounds( int OpaqueFrameView::NonClientHitTest(const gfx::Point& point) { if (window()->IsWindowControlsOverlayEnabled()) { + // Ensure support for resizing frameless window with border drag. + int frame_component = ResizingBorderHitTest(point); + if (frame_component != HTNOWHERE) + return frame_component; + if (HitTestCaptionButton(close_button_, point)) return HTCLOSE; if (HitTestCaptionButton(restore_button_, point))