Merge pull request #4181 from bengotow/scroll-touch-events
authorCheng Zhao <zcbenz@gmail.com>
Mon, 25 Jan 2016 06:47:54 +0000 (14:47 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 25 Jan 2016 06:47:54 +0000 (14:47 +0800)
Extend NativeWindow to track touch-based scroll events on OS X

1  2 
atom/browser/api/atom_api_window.cc
atom/browser/api/atom_api_window.h
atom/browser/native_window.cc
atom/browser/native_window.h
atom/browser/native_window_mac.h
atom/browser/native_window_mac.mm

Simple merge
Simple merge
Simple merge
Simple merge
@@@ -120,12 -108,9 +120,13 @@@ class NativeWindowMac : public NativeWi
    // 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_;
+   base::scoped_nsobject<id> event_monitor_;
  
    // The view that will fill the whole frameless window.
    base::scoped_nsobject<FullSizeContentView> content_view_;
Simple merge