Make custom window buttons an option

This commit is contained in:
Kevin Sawicki 2017-06-05 12:50:18 -07:00
parent 2880cfdc9c
commit 1493d6763c
4 changed files with 61 additions and 22 deletions

View file

@ -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.