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

Unified Diff: chrome/browser/bookmarks/bookmark_utils.cc

Issue 46054: Fixes a regression were showing a link brought a browser when to front... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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/bookmarks/bookmark_utils.cc
===================================================================
--- chrome/browser/bookmarks/bookmark_utils.cc (revision 11558)
+++ chrome/browser/bookmarks/bookmark_utils.cc (working copy)
@@ -318,7 +318,10 @@
if (!browser || !browser->GetSelectedTabContents()) {
navigator = &navigator_impl;
} else {
- browser->window()->Activate();
+ if (initial_disposition != NEW_WINDOW &&
+ initial_disposition != OFF_THE_RECORD) {
+ browser->window()->Activate();
+ }
navigator = browser->GetSelectedTabContents();
}
}
« 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