feat: add frame to context-menu event params (#30831)
* feat: add frame to context-menu event params * doc: rephrase frame description
This commit is contained in:
parent
52bacd38a9
commit
70c534fd14
5 changed files with 36 additions and 8 deletions
|
@ -1287,7 +1287,7 @@ void WebContents::RendererResponsive(
|
|||
|
||||
bool WebContents::HandleContextMenu(content::RenderFrameHost* render_frame_host,
|
||||
const content::ContextMenuParams& params) {
|
||||
Emit("context-menu", std::make_pair(params, web_contents()));
|
||||
Emit("context-menu", std::make_pair(params, render_frame_host));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue