Mojofy FrameHostMsg_TransferUserActivationFrom.
Bug: 786836
Change-Id: I37d56bedccfeb2f59f908b63d6782dc976aba76a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1628732
Reviewed-by: Daniel Cheng <[email protected]>
Reviewed-by: Camille Lamy <[email protected]>
Commit-Queue: Lowell Manners <[email protected]>
Cr-Commit-Position: refs/heads/master@{#665952}
diff --git a/content/common/frame.mojom b/content/common/frame.mojom
index b0a7515..a7cb70c 100644
--- a/content/common/frame.mojom
+++ b/content/common/frame.mojom
@@ -515,4 +515,11 @@
url.mojom.Url url,
int32 error_code,
mojo_base.mojom.String16 error_description);
+
+ // Sent to the browser process to transfer the user activation state from the
+ // source frame to the frame sending this IPC. The browser will update the
+ // user activation state of the frames in the frame tree in the non-source and
+ // non-target renderer processes.
+ TransferUserActivationFrom(int32 source_routing_id);
};
+
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index c81c9fb4..eeed7b8 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -1636,13 +1636,6 @@
int /* offset (from current) of history item to get */,
bool /* has_user_gesture */)
-// Sent to the browser process to transfer the user activation state from the
-// source frame to the frame sending this IPC. The browser will update the user
-// activation state of the frames in the frame tree in the non-source and
-// non-target renderer processes.
-IPC_MESSAGE_ROUTED1(FrameHostMsg_TransferUserActivationFrom,
- int /* source_routing_id */)
-
#if BUILDFLAG(USE_EXTERNAL_POPUP_MENU)
// Message to show/hide a popup menu using native controls.