remove usage of FullSizeContentView

This commit is contained in:
Cheng Zhao 2018-05-02 20:43:45 +09:00
parent a9709a635c
commit 28fc58067b
3 changed files with 58 additions and 31 deletions

View file

@ -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];