refactor: Make NativeWindow inherit WidgetDelegate
This commit is contained in:
parent
ee2c3607ad
commit
6d18bd0633
4 changed files with 8 additions and 7 deletions
|
@ -138,6 +138,9 @@ NativeWindowViews::NativeWindowViews(const mate::Dictionary& options,
|
|||
maximizable_(true),
|
||||
minimizable_(true),
|
||||
fullscreenable_(true) {
|
||||
// The root view is this class, it is managed by us.
|
||||
set_owned_by_client();
|
||||
|
||||
options.Get(options::kTitle, &title_);
|
||||
options.Get(options::kAutoHideMenuBar, &menu_bar_autohide_);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue