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

Unified Diff: chrome/browser/app_controller_mac.mm

Issue 196113: Activate Chromium after opening a new window. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 3 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 | « AUTHORS ('k') | chrome/browser/browser.cc » ('j') | chrome/browser/browser.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/app_controller_mac.mm
===================================================================
--- chrome/browser/app_controller_mac.mm (revision 26166)
+++ chrome/browser/app_controller_mac.mm (working copy)
@@ -469,7 +469,7 @@
Browser::OpenEmptyWindow(defaultProfile);
break;
case IDC_NEW_INCOGNITO_WINDOW:
- Browser::OpenURLOffTheRecord(defaultProfile, GURL());
+ Browser::OpenEmptyWindow(defaultProfile->GetOffTheRecordProfile());
John Grabowski 2009/09/16 20:14:02 I don't believe this change makes any difference.
break;
case IDC_RESTORE_TAB:
Browser::OpenWindowWithRestoredTabs(defaultProfile);
« no previous file with comments | « AUTHORS ('k') | chrome/browser/browser.cc » ('j') | chrome/browser/browser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698