LibWebView+WebContent: Add an IPC hook to insert data into the clipboard

This commit is contained in:
Timothy Flynn 2023-11-10 13:35:41 -05:00 committed by Andreas Kling
commit 306850652f
Notes: sideshowbarker 2024-07-17 18:08:55 +09:00
6 changed files with 15 additions and 0 deletions

View file

@ -499,4 +499,9 @@ void PageHost::page_did_change_theme_color(Gfx::Color color)
m_client.async_did_change_theme_color(color);
}
void PageHost::page_did_insert_clipboard_entry(String data, String presentation_style, String mime_type)
{
m_client.async_did_insert_clipboard_entry(move(data), move(presentation_style), move(mime_type));
}
}