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

Unified Diff: components/renderer_context_menu/render_view_context_menu_base.h

Issue 944533002: Context menu item to view original image when Data Saver is being used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to head Created 5 years, 10 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: 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

Powered by Google App Engine
This is Rietveld 408576698