Make custom window buttons an option
This commit is contained in:
parent
2880cfdc9c
commit
1493d6763c
4 changed files with 61 additions and 22 deletions
|
@ -132,6 +132,8 @@ class NativeWindowMac : public NativeWindow,
|
|||
|
||||
bool zoom_to_page_width() const { return zoom_to_page_width_; }
|
||||
|
||||
bool custom_window_buttons() const { return custom_window_buttons_; }
|
||||
|
||||
protected:
|
||||
// Return a vector of non-draggable regions that fill a window of size
|
||||
// |width| by |height|, but leave gaps where the window should be draggable.
|
||||
|
@ -176,6 +178,8 @@ class NativeWindowMac : public NativeWindow,
|
|||
|
||||
bool zoom_to_page_width_;
|
||||
|
||||
bool custom_window_buttons_;
|
||||
|
||||
NSInteger attention_request_id_; // identifier from requestUserAttention
|
||||
|
||||
// The presentation options before entering kiosk mode.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue