This is preventDefault by convention.
This commit is contained in:
parent
88805ec7e2
commit
195940292d
4 changed files with 7 additions and 7 deletions
|
@ -250,10 +250,10 @@ void App::OnFinishLaunching() {
|
|||
Emit("ready");
|
||||
}
|
||||
|
||||
void App::OnContinueUserActivity(bool* handled,
|
||||
void App::OnContinueUserActivity(bool* prevent_default,
|
||||
const std::string& type,
|
||||
const std::map<std::string, std::string>& user_info) {
|
||||
*handled = Emit("continue-activity", type, user_info);
|
||||
*prevent_default = Emit("continue-activity", type, user_info);
|
||||
}
|
||||
|
||||
void App::OnLogin(LoginHandler* login_handler) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue