Merge pull request #558 from atom/menubar-autohide

Allow window menu bar to be hidden
This commit is contained in:
Cheng Zhao
2014-08-07 19:31:58 +08:00
6 changed files with 94 additions and 11 deletions

View File

@@ -48,6 +48,9 @@ const char kWebPreferences[] = "web-preferences";
// The factor of which page should be zoomed.
const char kZoomFactor[] = "zoom-factor";
// The menu bar is hidden unless "Alt" is pressed.
const char kAutoHideMenuBar[] = "auto-hide-menu-bar";
} // namespace switches
} // namespace atom

View File

@@ -32,6 +32,7 @@ extern const char kAcceptFirstMouse[];
extern const char kUseContentSize[];
extern const char kWebPreferences[];
extern const char kZoomFactor[];
extern const char kAutoHideMenuBar[];
} // namespace switches