| Index: chrome/browser/ui/views/apps/chrome_native_app_window_views_mac.mm
|
| diff --git a/chrome/browser/ui/views/apps/chrome_native_app_window_views_mac.mm b/chrome/browser/ui/views/apps/chrome_native_app_window_views_mac.mm
|
| index 3356dcbb7fce26c814515eef47ba558206a9f737..3c0ebdd8e78ba03131600087edcdd80c06dff39a 100644
|
| --- a/chrome/browser/ui/views/apps/chrome_native_app_window_views_mac.mm
|
| +++ b/chrome/browser/ui/views/apps/chrome_native_app_window_views_mac.mm
|
| @@ -20,7 +20,8 @@ void ChromeNativeAppWindowViewsMac::OnBeforeWidgetInit(
|
| views::Widget::InitParams* init_params,
|
| views::Widget* widget) {
|
| DCHECK(!init_params->native_widget);
|
| - init_params->native_widget = new AppWindowNativeWidgetMac(widget);
|
| + init_params->remove_standard_frame = IsFrameless();
|
| + init_params->native_widget = new AppWindowNativeWidgetMac(widget, this);
|
| ChromeNativeAppWindowViews::OnBeforeWidgetInit(create_params, init_params,
|
| widget);
|
| }
|
| @@ -30,6 +31,11 @@ ChromeNativeAppWindowViewsMac::CreateStandardDesktopAppFrame() {
|
| return new NativeAppWindowFrameViewMac(widget());
|
| }
|
|
|
| +views::NonClientFrameView*
|
| +ChromeNativeAppWindowViewsMac::CreateNonStandardAppFrame() {
|
| + return new NativeAppWindowFrameViewMac(widget());
|
| +}
|
| +
|
| void ChromeNativeAppWindowViewsMac::Show() {
|
| if (is_hidden_with_app_) {
|
| // If there is a shim to gently request attention, return here. Otherwise
|
|
|