mac: Make "standard-window" option default to true
This commit is contained in:
parent
9e3f108fad
commit
66ef52197a
2 changed files with 3 additions and 3 deletions
|
@ -310,7 +310,7 @@ NativeWindowMac::NativeWindowMac(content::WebContents* web_contents,
|
||||||
width,
|
width,
|
||||||
height);
|
height);
|
||||||
|
|
||||||
bool useStandardWindow = false;
|
bool useStandardWindow = true;
|
||||||
options.Get(switches::kStandardWindow, &useStandardWindow);
|
options.Get(switches::kStandardWindow, &useStandardWindow);
|
||||||
|
|
||||||
NSUInteger styleMask = NSTitledWindowMask | NSClosableWindowMask |
|
NSUInteger styleMask = NSTitledWindowMask | NSClosableWindowMask |
|
||||||
|
|
|
@ -72,8 +72,8 @@ You can also create a window without chrome by using
|
||||||
* `type` String - Specifies the type of the window, possible types are
|
* `type` String - Specifies the type of the window, possible types are
|
||||||
`desktop`, `dock`, `toolbar`, `splash`, `notification`. This only works on
|
`desktop`, `dock`, `toolbar`, `splash`, `notification`. This only works on
|
||||||
Linux.
|
Linux.
|
||||||
* `standard-window` Boolean - Use the OS X's standard window instead of the
|
* `standard-window` Boolean - Uses the OS X's standard window instead of the
|
||||||
textured window. Defaults to `false`.
|
textured window. Defaults to `true`.
|
||||||
* `web-preferences` Object - Settings of web page's features
|
* `web-preferences` Object - Settings of web page's features
|
||||||
* `javascript` Boolean
|
* `javascript` Boolean
|
||||||
* `web-security` Boolean
|
* `web-security` Boolean
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue