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

Unified Diff: content/renderer/context_menu_params_builder.h

Issue 384243004: Make <a ping> work for context menus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
Index: content/renderer/context_menu_params_builder.h
diff --git a/content/renderer/context_menu_params_builder.h b/content/renderer/context_menu_params_builder.h
index 624f85505c8a9829dba91e80e707a32d42ad96e6..bb36a444b7247de16978d9793edc8c0641e1a987 100644
--- a/content/renderer/context_menu_params_builder.h
+++ b/content/renderer/context_menu_params_builder.h
@@ -7,6 +7,7 @@
namespace blink {
struct WebContextMenuData;
+class WebNode;
}
namespace content {
@@ -15,6 +16,8 @@ struct ContextMenuParams;
class ContextMenuParamsBuilder {
public:
static ContextMenuParams Build(const blink::WebContextMenuData& data);
+
+ static blink::WebNode extractParentAnchorNode(const blink::WebNode& node);
Nate Chapin 2014/07/14 19:01:46 WebContextMenuData provides the deepest WebNode th
darin (slow to review) 2014/07/22 17:34:39 You should probably add some comments on this func
darin (slow to review) 2014/07/22 17:34:40 nit: extract -> Extract
Nate Chapin 2014/07/22 18:19:56 Done.
Nate Chapin 2014/07/22 18:19:56 Done.
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698