🔧 Draggable (using the window’s regions)
This commit is contained in:
parent
d06eeeede8
commit
df66223f4c
5 changed files with 68 additions and 1 deletions
|
@ -7,6 +7,8 @@
|
|||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#include "atom/common/draggable_region.h"
|
||||
#include "base/mac/scoped_nsobject.h"
|
||||
#include "atom/browser/native_browser_view.h"
|
||||
|
||||
namespace atom {
|
||||
|
@ -20,6 +22,7 @@ class NativeBrowserViewMac : public NativeBrowserView {
|
|||
void SetAutoResizeFlags(uint8_t flags) override;
|
||||
void SetBounds(const gfx::Rect& bounds) override;
|
||||
void SetBackgroundColor(SkColor color) override;
|
||||
void UpdateDraggableRegions(const std::vector<DraggableRegion>& regions) override;
|
||||
|
||||
private:
|
||||
DISALLOW_COPY_AND_ASSIGN(NativeBrowserViewMac);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue