feat: allow resigning current NSUserActivity (#18659)
* feat: allow resigning current NSUserActivity * wrap in @available check
This commit is contained in:
parent
b30484d3a9
commit
abab90f563
6 changed files with 23 additions and 4 deletions
|
@ -1417,6 +1417,8 @@ void App::BuildPrototype(v8::Isolate* isolate,
|
|||
.SetMethod(
|
||||
"invalidateCurrentActivity",
|
||||
base::BindRepeating(&Browser::InvalidateCurrentActivity, browser))
|
||||
.SetMethod("resignCurrentActivity",
|
||||
base::BindRepeating(&Browser::ResignCurrentActivity, browser))
|
||||
.SetMethod("updateCurrentActivity",
|
||||
base::BindRepeating(&Browser::UpdateCurrentActivity, browser))
|
||||
// TODO(juturu): Remove in 2.0, deprecate before then with warnings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue