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:
parent
78afa29ade
commit
2a9f5a5fb8
8 changed files with 51 additions and 17 deletions
|
@ -251,6 +251,9 @@ class NativeWindow : public brightray::DefaultWebContentsDelegate,
|
|||
// Whether window has standard frame.
|
||||
bool has_frame_;
|
||||
|
||||
// Whether window can be resized larger than screen.
|
||||
bool enable_larger_than_screen_;
|
||||
|
||||
// Window icon.
|
||||
gfx::ImageSkia icon_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue