Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(901)

Unified Diff: content/public/renderer/render_frame.h

Issue 191293006: Move GetContextMenuNode from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync and fix android clang error Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/printing/print_web_view_helper.cc ('k') | content/public/renderer/render_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « chrome/renderer/printing/print_web_view_helper.cc ('k') | content/public/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698