blob: afe3482ef5e33d4f637b27bfb3f2b70ea239bffe [file] [log] [blame]
// 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 UI_VIEWS_BRIDGE_MAC_NATIVE_WIDGET_MAC_FRAMELESS_NSWINDOW_H_
#define UI_VIEWS_BRIDGE_MAC_NATIVE_WIDGET_MAC_FRAMELESS_NSWINDOW_H_
#import "ui/views_bridge_mac/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 // UI_VIEWS_BRIDGE_MAC_NATIVE_WIDGET_MAC_FRAMELESS_NSWINDOW_H_