remove usage of FullSizeContentView
This commit is contained in:
parent
a9709a635c
commit
28fc58067b
3 changed files with 58 additions and 31 deletions
|
@ -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