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

Unified Diff: content/public/common/context_menu_params.h

Issue 384243004: Make <a ping> work for context menus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address darin's comments 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
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/context_menu_params_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/context_menu_params.h
diff --git a/content/public/common/context_menu_params.h b/content/public/common/context_menu_params.h
index b91d5a191e18bfbb121b305fb1743a7c0c94e1fc..8849dae303d29f4677075080dd1a289698103a22 100644
--- a/content/public/common/context_menu_params.h
+++ b/content/public/common/context_menu_params.h
@@ -36,6 +36,12 @@ struct CONTENT_EXPORT CustomContextMenuContext {
// It could also be |kCurrentRenderWidget|, which means the render widget that
// the corresponding ViewHostMsg_ContextMenu is sent to.
int32 render_widget_id;
+
+ // If the context menu was created for a link, and we navigated to that url,
+ // this will contain the url that was navigated. This field may not be set
+ // if, for example, we are transitioning to an incognito window, since we
+ // want to sever any connection to the old renderer.
+ GURL link_followed;
};
// FIXME(beng): This would be more useful in the future and more efficient
« no previous file with comments | « content/content_renderer.gypi ('k') | content/renderer/context_menu_params_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698