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:
Marshall Greenblatt 2014-11-15 01:19:52 +00:00
parent eef89ccdd3
commit a67f971781
1 changed files with 2 additions and 0 deletions

View File

@ -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);