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

Unified Diff: chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc

Issue 8588039: Remove "open in new tab" items from context menu if the process doesn't (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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: chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc
===================================================================
--- chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc (revision 113019)
+++ chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc (working copy)
@@ -42,6 +42,7 @@
ContextMenuParams params;
params.media_type = WebKit::WebContextMenuData::MediaTypeNone;
params.link_url = url;
+ params.unfiltered_link_url = url;
TabContents* tab_contents = browser()->GetSelectedTabContents();
params.page_url = tab_contents->controller().GetActiveEntry()->url();
#if defined(OS_MACOSX)
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/tab_contents/render_view_context_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698