remove usage of FullSizeContentView
This commit is contained in:
parent
a9709a635c
commit
28fc58067b
3 changed files with 58 additions and 31 deletions
|
@ -36,8 +36,9 @@ class ScopedDisableResize {
|
|||
@property BOOL disableAutoHideCursor;
|
||||
@property BOOL disableKeyOrMainWindow;
|
||||
@property NSPoint windowButtonsOffset;
|
||||
@property (nonatomic, retain) NSView* vibrantView;
|
||||
@property(nonatomic, retain) NSView* vibrantView;
|
||||
- (void)setShell:(atom::NativeWindowMac*)shell;
|
||||
- (atom::NativeWindowMac*)shell;
|
||||
- (void)enableWindowButtonsOffset;
|
||||
- (void)toggleFullScreenMode:(id)sender;
|
||||
@end
|
||||
|
|
|
@ -27,6 +27,10 @@ bool ScopedDisableResize::disable_resize_ = false;
|
|||
shell_ = shell;
|
||||
}
|
||||
|
||||
- (atom::NativeWindowMac*)shell {
|
||||
return shell_;
|
||||
}
|
||||
|
||||
- (NSTouchBar*)makeTouchBar API_AVAILABLE(macosx(10.12.2)) {
|
||||
if (shell_->touch_bar())
|
||||
return [shell_->touch_bar() makeTouchBar];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue