fixes (#17363)
This commit is contained in:
parent
6530c99cfa
commit
075b818a8e
5 changed files with 35 additions and 38 deletions
|
@ -1350,13 +1350,15 @@ void App::BuildPrototype(v8::Isolate* isolate,
|
|||
base::Bind(&Browser::SetAsDefaultProtocolClient, browser))
|
||||
.SetMethod("removeAsDefaultProtocolClient",
|
||||
base::Bind(&Browser::RemoveAsDefaultProtocolClient, browser))
|
||||
.SetMethod("setBadgeCount", base::Bind(&Browser::SetBadgeCount, browser))
|
||||
.SetMethod("getBadgeCount", base::Bind(&Browser::GetBadgeCount, browser))
|
||||
.SetMethod("_setBadgeCount", base::Bind(&Browser::SetBadgeCount, browser))
|
||||
.SetMethod("_getBadgeCount", base::Bind(&Browser::GetBadgeCount, browser))
|
||||
.SetMethod("getLoginItemSettings", &App::GetLoginItemSettings)
|
||||
.SetMethod("setLoginItemSettings",
|
||||
base::Bind(&Browser::SetLoginItemSettings, browser))
|
||||
.SetMethod("isEmojiPanelSupported",
|
||||
base::Bind(&Browser::IsEmojiPanelSupported, browser))
|
||||
.SetProperty("badgeCount", base::Bind(&Browser::GetBadgeCount, browser),
|
||||
base::Bind(&Browser::SetBadgeCount, browser))
|
||||
#if defined(OS_MACOSX)
|
||||
.SetMethod("hide", base::Bind(&Browser::Hide, browser))
|
||||
.SetMethod("show", base::Bind(&Browser::Show, browser))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue