Windows: Don't draw a resize frame around the browser (issue #1401).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1905 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
eef89ccdd3
commit
a67f971781
|
@ -39,6 +39,8 @@ void CefWindowDelegateView::Init(
|
||||||
params.type = views::Widget::InitParams::TYPE_CONTROL;
|
params.type = views::Widget::InitParams::TYPE_CONTROL;
|
||||||
// Don't set the WS_EX_COMPOSITED flag.
|
// Don't set the WS_EX_COMPOSITED flag.
|
||||||
params.opacity = views::Widget::InitParams::OPAQUE_WINDOW;
|
params.opacity = views::Widget::InitParams::OPAQUE_WINDOW;
|
||||||
|
// Tell Aura not to draw the window frame on resize.
|
||||||
|
params.remove_standard_frame = true;
|
||||||
|
|
||||||
// Results in a call to InitContent().
|
// Results in a call to InitContent().
|
||||||
widget->Init(params);
|
widget->Init(params);
|
||||||
|
|
Loading…
Reference in New Issue