As suggested by Martin in bug #54827 we could show the context menu directly from WebContextMenuProxyGtk instead of using a private method in WebKitWebViewBase for that.
Created attachment 97092 [details] Patch This patch depends on bug #62626 since it uses convertWidgetPointToScreenPoint() to position the context menu.
Comment on attachment 97092 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=97092&action=review Thank you for the cleanup! > Source/WebKit2/UIProcess/gtk/WebContextMenuProxyGtk.cpp:89 > + gtk_menu_popdown(m_popup); I guess this fix is tacked on? It's simple enough that I think it's fine for this patch. For more complicated fixes it's probably better to make seperate bugs.
Committed r88803: <http://trac.webkit.org/changeset/88803>