This commit is contained in:
Alexander Frick 2024-11-13 03:08:01 -06:00
parent e41862ba91
commit 8b441575e1

View file

@ -767,7 +767,7 @@ index b57fb5baa52a7..4fc9467f16b6c 100644
// extends beyond the screen edges. In that case, we must return the
// default value.
- const int kTopResizeFrameArea = 0;
+ const int kTopResizeFrameArea = features::IsThorium2024() ? 7 : 0;
+ const int kTopResizeFrameArea = features::IsThorium2024() ? 6 : 0;
return kTopResizeFrameArea;
}
@ -1008,7 +1008,7 @@ index 67b69d18a802e..f2189d01b206f 100644
+ }
+ // Besides the frame border, there's empty space atop the window in restored
+ // mode, to use to drag the window around.
+ int thickness = 6;
+ constexpr int thickness = 6;
+ if (delegate_->EverHasVisibleBackgroundTabShapes()) {
+ thickness =
+ std::max(thickness, BrowserNonClientFrameView::kMinimumDragHeight);