refactor: remove InspectableWebContentsViewMac in favor of the Views version (#41326)
This commit is contained in:
parent
814ba71dc1
commit
e67ab9a93d
20 changed files with 304 additions and 956 deletions
|
@ -242,6 +242,7 @@ NativeWindowMac::NativeWindowMac(const gin_helper::Dictionary& options,
|
|||
params.bounds = bounds;
|
||||
params.delegate = this;
|
||||
params.type = views::Widget::InitParams::TYPE_WINDOW;
|
||||
params.headless_mode = true;
|
||||
params.native_widget =
|
||||
new ElectronNativeWidgetMac(this, windowType, styleMask, widget());
|
||||
widget()->Init(std::move(params));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue