| Index: chrome/browser/ui/views/apps/native_widget_mac_frameless_nswindow.h
|
| diff --git a/chrome/browser/ui/views/apps/native_widget_mac_frameless_nswindow.h b/chrome/browser/ui/views/apps/native_widget_mac_frameless_nswindow.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..72bb663cdce1d9b16ed403b8c053376f69fd4962
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/views/apps/native_widget_mac_frameless_nswindow.h
|
| @@ -0,0 +1,17 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_WIDGET_MAC_FRAMELESS_NSWINDOW_H_
|
| +#define CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_WIDGET_MAC_FRAMELESS_NSWINDOW_H_
|
| +
|
| +#import "ui/views/cocoa/native_widget_mac_nswindow.h"
|
| +
|
| +// Overrides contentRect <-> frameRect conversion methods to keep them equal to
|
| +// each other, even for windows that do not use NSBorderlessWindowMask. This
|
| +// allows an NSWindow to be frameless without attaining undesired side-effects
|
| +// of NSBorderlessWindowMask.
|
| +@interface NativeWidgetMacFramelessNSWindow : NativeWidgetMacNSWindow
|
| +@end
|
| +
|
| +#endif // CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_WIDGET_MAC_FRAMELESS_NSWINDOW_H_
|
|
|