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

@ -55,6 +55,8 @@ You can also create a window without chrome by using
`manual-enable-iframe` or `disable`.
* `accept-first-mouse` Boolean - Whether the web view accepts a single
mouse-down event that simultaneously activates the window
* `auto-hide-menu-bar` Boolean - Auto hide the menu bar unless the `Alt`
key is pressed.
* `web-preferences` Object - Settings of web page's features
* `javascript` Boolean
* `web-security` Boolean