| Index: ui/views/window/custom_frame_view.cc
|
| diff --git a/ui/views/window/custom_frame_view.cc b/ui/views/window/custom_frame_view.cc
|
| index c20bd8a2d27200247feac166e775ac3c1d1b9118..a3fb3f7c96c8008091ec2765a01815c0237fa2c6 100644
|
| --- a/ui/views/window/custom_frame_view.cc
|
| +++ b/ui/views/window/custom_frame_view.cc
|
| @@ -281,7 +281,11 @@ int CustomFrameView::NonClientTopBorderHeight() const {
|
| int CustomFrameView::CaptionButtonY() const {
|
| // Maximized buttons start at window top so that even if their images aren't
|
| // drawn flush with the screen edge, they still obey Fitts' Law.
|
| - return frame_->IsMaximized() ? FrameBorderThickness() : kFrameBorderThickness;
|
| +#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
|
| + return FrameBorderThickness();
|
| +#else
|
| + return frame_->IsMaximized() ? FrameBorderThickness() : kFrameShadowThickness;
|
| +#endif
|
| }
|
|
|
| int CustomFrameView::TitlebarBottomThickness() const {
|
|
|