Chromium Code Reviews| 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..24a8a14370423255f26217b091d33d286f0aa2f3 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. |
| +#if defined(OS_LINUX) && !defined(OS_CHROMEOS) |
| return frame_->IsMaximized() ? FrameBorderThickness() : kFrameBorderThickness; |
|
flackr
2014/06/13 12:46:33
This should just return FrameBorderThickness() as
jonross
2014/06/13 13:32:16
Done.
|
| +#else |
| + return frame_->IsMaximized() ? FrameBorderThickness() : kFrameShadowThickness; |
| +#endif |
| } |
| int CustomFrameView::TitlebarBottomThickness() const { |