Fix code style to be <= 80 lines
This commit is contained in:
parent
070d26e68e
commit
e0dae4054a
1 changed files with 4 additions and 2 deletions
|
@ -229,8 +229,10 @@ NativeWindowViews::NativeWindowViews(content::WebContents* web_contents,
|
||||||
|
|
||||||
#if defined(OS_WIN)
|
#if defined(OS_WIN)
|
||||||
if (!has_frame_) {
|
if (!has_frame_) {
|
||||||
// set Window style so that we get a minimize and maximize animation when frameless
|
// Set Window style so that we get a minimize and maximize animation when
|
||||||
DWORD frame_style = WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_CAPTION;
|
// frameless.
|
||||||
|
DWORD frame_style = WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX |
|
||||||
|
WS_CAPTION;
|
||||||
::SetWindowLong(GetAcceleratedWidget(), GWL_STYLE, frame_style);
|
::SetWindowLong(GetAcceleratedWidget(), GWL_STYLE, frame_style);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue