This commit is contained in:
Kevin Sawicki 2017-07-14 11:49:40 -07:00
parent 9102c07ec7
commit c4ffb91190
2 changed files with 1 additions and 3 deletions

View file

@ -340,7 +340,6 @@ bool ScopedDisableResize::disable_resize_ = false;
// titlebar is expected to be empty, but after entering fullscreen mode we // titlebar is expected to be empty, but after entering fullscreen mode we
// have to set one, because title bar is visible here. // have to set one, because title bar is visible here.
NSWindow* window = shell_->GetNativeWindow(); NSWindow* window = shell_->GetNativeWindow();
if ((shell_->transparent() || !shell_->has_frame()) && if ((shell_->transparent() || !shell_->has_frame()) &&
base::mac::IsAtLeastOS10_10() && base::mac::IsAtLeastOS10_10() &&
// FIXME(zcbenz): Showing titlebar for hiddenInset window is weird under // FIXME(zcbenz): Showing titlebar for hiddenInset window is weird under

View file

@ -49,8 +49,7 @@ const char kUseContentSize[] = "useContentSize";
const char kZoomToPageWidth[] = "zoomToPageWidth"; const char kZoomToPageWidth[] = "zoomToPageWidth";
// Whether always show title text in full screen is enabled. // Whether always show title text in full screen is enabled.
const char kFullscreenWindowTitle[] = const char kFullscreenWindowTitle[] = "fullscreenWindowTitle";
"fullscreenWindowTitle";
// The requested title bar style for the window // The requested title bar style for the window
const char kTitleBarStyle[] = "titleBarStyle"; const char kTitleBarStyle[] = "titleBarStyle";