Add "enable-larger-than-screen" option for BrowserWindow.

From now on BrowserWindow can only be resized larger than screen or
moved out of screen when this option is set to "true".

Fixes #582.
This commit is contained in:
Cheng Zhao 2014-08-17 12:23:00 +08:00
parent 78afa29ade
commit 2a9f5a5fb8
8 changed files with 51 additions and 17 deletions

View file

@ -61,6 +61,8 @@ normal browsers, see [Web Security](web-security.md) for more.
mouse-down event that simultaneously activates the window
* `auto-hide-menu-bar` Boolean - Auto hide the menu bar unless the `Alt`
key is pressed.
* `enable-larger-than-screen` Boolean - Enable the window to be resized larger
than screen.
* `web-preferences` Object - Settings of web page's features
* `javascript` Boolean
* `web-security` Boolean