From 739465582fc9eb959130c1378e20a0c6aac4a8cf Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 8 Jul 2013 17:06:56 +0800 Subject: [PATCH] [Win] Force using native frame. --- browser/native_window_win.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/browser/native_window_win.cc b/browser/native_window_win.cc index 5f31ed12f401..49be93b21a56 100644 --- a/browser/native_window_win.cc +++ b/browser/native_window_win.cc @@ -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;