Implement titleBarStyle without using NSFullSizeContentViewWindowMask
This commit is contained in:
parent
ecbb088ea6
commit
f53aabaef5
4 changed files with 19 additions and 25 deletions
|
@ -142,6 +142,10 @@ class NativeWindowMac : public NativeWindow {
|
|||
// The presentation options before entering kiosk mode.
|
||||
NSApplicationPresentationOptions kiosk_options_;
|
||||
|
||||
// Force showing the buttons for frameless window.
|
||||
bool force_show_buttons_;
|
||||
|
||||
// Whether to hide the native toolbar under fullscreen mode.
|
||||
bool should_hide_native_toolbar_in_fullscreen_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(NativeWindowMac);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue