Index: content/browser/frame_host/render_frame_host_impl.cc |
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc |
index 45cf9cfdc865ed82c82a655cf49b05212c2ef109..716b82d7daec1a4915d58d3e6fe203715de3c1bc 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.cc |
+++ b/content/browser/frame_host/render_frame_host_impl.cc |
@@ -813,6 +813,7 @@ bool RenderFrameHostImpl::OnMessageReceived(const IPC::Message &msg) { |
IPC_MESSAGE_HANDLER(FrameHostMsg_FocusedNodeChanged, OnFocusedNodeChanged) |
IPC_MESSAGE_HANDLER(FrameHostMsg_SetHasReceivedUserGesture, |
OnSetHasReceivedUserGesture) |
+ IPC_MESSAGE_HANDLER(FrameHostMsg_SetDevToolsFrameId, OnSetDevToolsFrameId) |
#if BUILDFLAG(USE_EXTERNAL_POPUP_MENU) |
IPC_MESSAGE_HANDLER(FrameHostMsg_ShowPopup, OnShowPopup) |
IPC_MESSAGE_HANDLER(FrameHostMsg_HidePopup, OnHidePopup) |
@@ -2394,6 +2395,11 @@ void RenderFrameHostImpl::OnSetHasReceivedUserGesture() { |
frame_tree_node_->OnSetHasReceivedUserGesture(); |
} |
+void RenderFrameHostImpl::OnSetDevToolsFrameId( |
+ const std::string& devtools_frame_id) { |
+ devtools_frame_id_ = devtools_frame_id; |
+} |
+ |
#if BUILDFLAG(USE_EXTERNAL_POPUP_MENU) |
void RenderFrameHostImpl::OnShowPopup( |
const FrameHostMsg_ShowPopup_Params& params) { |