Commit 4640d0c1 authored by Mustaq Ahmed's avatar Mustaq Ahmed Committed by Commit Bot

Skip user activation at ExternalPopupMenu::DidCancel()

Bug: 1079466
Change-Id: Ie3a333c5c7a6e16a85fe2734165961b84692b0d1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2442869Reviewed-by: default avatarDave Tapuska <dtapuska@chromium.org>
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#812760}
parent 73b7ec3d
...@@ -232,9 +232,6 @@ void ExternalPopupMenu::DidAcceptIndices(const Vector<int32_t>& indices) { ...@@ -232,9 +232,6 @@ void ExternalPopupMenu::DidAcceptIndices(const Vector<int32_t>& indices) {
} }
void ExternalPopupMenu::DidCancel() { void ExternalPopupMenu::DidCancel() {
local_frame_->NotifyUserActivation(
mojom::blink::UserActivationNotificationType::kInteraction);
if (owner_element_) if (owner_element_)
owner_element_->PopupDidHide(); owner_element_->PopupDidHide();
Reset(); Reset();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment