Simplify the setStyleMask calls

This commit is contained in:
Cheng Zhao 2016-01-23 03:12:19 -08:00
parent 239bfe970c
commit 010cc3276a
2 changed files with 39 additions and 53 deletions

View file

@ -120,6 +120,10 @@ class NativeWindowMac : public NativeWindow {
// whehter we can drag.
void UpdateDraggableRegionViews(const std::vector<DraggableRegion>& regions);
// Set the attribute of NSWindow while work around a bug of zo0m button.
void SetStyleMask(bool on, NSUInteger flag);
void SetCollectionBehavior(bool on, NSUInteger flag);
base::scoped_nsobject<AtomNSWindow> window_;
base::scoped_nsobject<AtomNSWindowDelegate> window_delegate_;