summaryrefslogtreecommitdiffstats
path: root/ui/views/window/custom_frame_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/window/custom_frame_view.cc')
-rw-r--r--ui/views/window/custom_frame_view.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/views/window/custom_frame_view.cc b/ui/views/window/custom_frame_view.cc
index 1dbd9fb..9896b0f 100644
--- a/ui/views/window/custom_frame_view.cc
+++ b/ui/views/window/custom_frame_view.cc
@@ -317,6 +317,9 @@ gfx::Rect CustomFrameView::IconBounds() const {
}
bool CustomFrameView::ShouldShowTitleBarAndBorder() const {
+ if (frame_->IsFullscreen())
+ return false;
+
if (ViewsDelegate::views_delegate) {
return !ViewsDelegate::views_delegate->WindowManagerProvidesTitleBar(
frame_->IsMaximized());