This is preventDefault by convention.
This commit is contained in:
parent
88805ec7e2
commit
195940292d
4 changed files with 7 additions and 7 deletions
|
@ -141,12 +141,12 @@ void Browser::Activate(bool has_visible_windows) {
|
|||
bool Browser::ContinueUserActivity(const std::string& type,
|
||||
const std::map<std::string,
|
||||
std::string>& user_info) {
|
||||
bool handled = false;
|
||||
bool prevent_default = false;
|
||||
FOR_EACH_OBSERVER(BrowserObserver,
|
||||
observers_,
|
||||
OnContinueUserActivity(&handled, type, user_info));
|
||||
OnContinueUserActivity(&prevent_default, type, user_info));
|
||||
|
||||
return handled;
|
||||
return prevent_default;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue