Skip to content

Commit

Permalink
fix: expose setMenuBarVisibility again (#19557)
Browse files Browse the repository at this point in the history
  • Loading branch information
adill authored and MarshallOfSound committed Aug 1, 2019
1 parent e8c4e6f commit e78b902
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shell/browser/api/atom_api_top_level_window.cc
Expand Up @@ -1168,6 +1168,7 @@ void TopLevelWindow::BuildPrototype(v8::Isolate* isolate,
.SetMethod("_isMenuBarAutoHide", &TopLevelWindow::IsMenuBarAutoHide)
.SetProperty("autoHideMenuBar", &TopLevelWindow::IsMenuBarAutoHide,
&TopLevelWindow::SetAutoHideMenuBar)
.SetMethod("setMenuBarVisibility", &TopLevelWindow::SetMenuBarVisibility)
.SetMethod("isMenuBarVisible", &TopLevelWindow::IsMenuBarVisible)
.SetMethod("setAspectRatio", &TopLevelWindow::SetAspectRatio)
.SetMethod("previewFile", &TopLevelWindow::PreviewFile)
Expand Down

0 comments on commit e78b902

Please sign in to comment.