[Win] Force using native frame.

This commit is contained in:
Cheng Zhao 2013-07-08 17:06:56 +08:00
parent 64329268b8
commit 739465582f

View file

@ -47,6 +47,7 @@ NativeWindowWin::NativeWindowWin(content::WebContents* web_contents,
views::Widget::InitParams params(views::Widget::InitParams::TYPE_WINDOW);
params.delegate = this;
params.ownership = views::Widget::InitParams::WIDGET_OWNS_NATIVE_WIDGET;
window_->set_frame_type(views::Widget::FRAME_TYPE_FORCE_NATIVE);
window_->Init(params);
int width = 800, height = 600;