Merge pull request #7549 from electron/about-panel-options

Support setting about panel options
This commit is contained in:
Cheng Zhao 2016-10-11 20:18:23 +09:00 committed by GitHub
commit 4ae190dab9
5 changed files with 38 additions and 1 deletions

View file

@ -850,6 +850,8 @@ void App::BuildPrototype(
base::Bind(&Browser::SetUserActivity, browser))
.SetMethod("getCurrentActivityType",
base::Bind(&Browser::GetCurrentActivityType, browser))
.SetMethod("setAboutPanelOptions",
base::Bind(&Browser::SetAboutPanelOptions, browser))
#endif
#if defined(OS_WIN)
.SetMethod("setUserTasks", base::Bind(&Browser::SetUserTasks, browser))