Index: components/renderer_context_menu/render_view_context_menu_base.h |
diff --git a/components/renderer_context_menu/render_view_context_menu_base.h b/components/renderer_context_menu/render_view_context_menu_base.h |
index d6d7bbd5a5703343aa46f5a91a952ae93fc58a74..61dfbe4644bb28216b0d88f74b3f90ceef7fae47 100644 |
--- a/components/renderer_context_menu/render_view_context_menu_base.h |
+++ b/components/renderer_context_menu/render_view_context_menu_base.h |
@@ -161,6 +161,13 @@ class RenderViewContextMenuBase : public ui::SimpleMenuModel::Delegate, |
WindowOpenDisposition disposition, |
ui::PageTransition transition); |
+ // Opens the specified URL string in a new tab with the extra headers. |
+ void OpenURLWithExtraHeaders(const GURL& url, |
+ const GURL& referrer, |
+ WindowOpenDisposition disposition, |
+ ui::PageTransition transition, |
+ const std::string& extra_headers); |
+ |
content::ContextMenuParams params_; |
content::WebContents* source_web_contents_; |
// In the case of a MimeHandlerView this will point to the WebContents that |