Index: content/public/renderer/render_frame.h |
=================================================================== |
--- content/public/renderer/render_frame.h (revision 255957) |
+++ content/public/renderer/render_frame.h (working copy) |
@@ -14,6 +14,7 @@ |
namespace blink { |
class WebFrame; |
+class WebNode; |
class WebPlugin; |
class WebURLRequest; |
struct WebPluginParams; |
@@ -64,6 +65,9 @@ |
// menu is closed. |
virtual void CancelContextMenu(int request_id) = 0; |
+ // Gets the node that the context menu was pressed over. |
+ virtual blink::WebNode GetContextMenuNode() const = 0; |
+ |
// Create a new NPAPI/Pepper plugin depending on |info|. Returns NULL if no |
// plugin was found. |
virtual blink::WebPlugin* CreatePlugin( |