views: Add support for auto-hide menubar.

This commit is contained in:
Cheng Zhao 2014-08-07 13:47:58 +08:00
parent b139d97f3d
commit 8a9e1824c3
6 changed files with 47 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