Chromium Code Reviews| 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..c14d8b3459d4b90b36e30fd619769f65581d8fcd |
| --- /dev/null |
| +++ b/chrome/browser/ui/views/apps/native_widget_mac_frameless_nswindow.h |
| @@ -0,0 +1,21 @@ |
| +// 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 <Cocoa/Cocoa.h> |
|
tapted
2015/03/18 03:51:58
I guess this can be removed too
jackhou1
2015/03/18 06:14:17
Done.
|
| + |
| +#import "ui/views/cocoa/native_widget_mac_nswindow.h" |
| +#include "ui/views/views_export.h" |
|
tapted
2015/03/18 03:51:58
remove
jackhou1
2015/03/18 06:14:17
Done.
|
| + |
| +// 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. |
| +VIEWS_EXPORT |
|
tapted
2015/03/18 03:51:58
remove
jackhou1
2015/03/18 06:14:17
Done.
|
| +@interface NativeWidgetMacFramelessNSWindow : NativeWidgetMacNSWindow |
| +@end |
| + |
| +#endif // CHROME_BROWSER_UI_VIEWS_APPS_NATIVE_WIDGET_MAC_FRAMELESS_NSWINDOW_H_ |