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

Unified Diff: chrome/browser/tab_contents/render_view_context_menu.cc

Issue 155671: Experiment with opening links opened via context menu in the foreground.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/render_view_context_menu.cc
===================================================================
--- chrome/browser/tab_contents/render_view_context_menu.cc (revision 20836)
+++ chrome/browser/tab_contents/render_view_context_menu.cc (working copy)
@@ -360,7 +360,7 @@
switch (id) {
case IDS_CONTENT_CONTEXT_OPENLINKNEWTAB:
- OpenURL(params_.link_url, NEW_BACKGROUND_TAB, PageTransition::LINK);
+ OpenURL(params_.link_url, NEW_FOREGROUND_TAB, PageTransition::LINK);
break;
case IDS_CONTENT_CONTEXT_OPENLINKNEWWINDOW:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698