remove support for hidden-inset (#11975)

This commit is contained in:
shelley vohr 2018-02-20 12:09:54 -05:00 committed by Charles Kerr
parent 7bcccdec41
commit 846be03f1d
3 changed files with 2 additions and 4 deletions

View file

@ -813,8 +813,7 @@ struct Converter<atom::NativeWindowMac::TitleBarStyle> {
return false;
if (title_bar_style == "hidden") {
*out = atom::NativeWindowMac::HIDDEN;
} else if (title_bar_style == "hidden-inset" || // TODO(kevinsawicki): Remove in 2.0, deprecate before then with warnings
title_bar_style == "hiddenInset") {
} else if (title_bar_style == "hiddenInset") {
*out = atom::NativeWindowMac::HIDDEN_INSET;
} else if (title_bar_style == "customButtonsOnHover") {
*out = atom::NativeWindowMac::CUSTOM_BUTTONS_ON_HOVER;