feat: expose showAboutPanel for MacOS (#15674)
This commit is contained in:
parent
1cf28e8b75
commit
a54dd1085a
2 changed files with 7 additions and 0 deletions
|
@ -1292,6 +1292,8 @@ void App::BuildPrototype(v8::Isolate* isolate,
|
|||
base::Bind(&Browser::UpdateCurrentActivity, browser))
|
||||
.SetMethod("setAboutPanelOptions",
|
||||
base::Bind(&Browser::SetAboutPanelOptions, browser))
|
||||
.SetMethod("showAboutPanel",
|
||||
base::Bind(&Browser::ShowAboutPanel, browser))
|
||||
#endif
|
||||
#if defined(OS_WIN)
|
||||
.SetMethod("setUserTasks", base::Bind(&Browser::SetUserTasks, browser))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue