diff options
Diffstat (limited to 'chrome/browser/app_controller_mac.mm')
-rw-r--r-- | chrome/browser/app_controller_mac.mm | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm index 780461c..cdffb7b 100644 --- a/chrome/browser/app_controller_mac.mm +++ b/chrome/browser/app_controller_mac.mm @@ -212,17 +212,6 @@ void RecordLastRunAppBundlePath() { // Set up the command updater for when there are no windows open [self initMenuState]; - - // Activate (bring to foreground) if asked to do so. On - // Windows this logic isn't necessary since - // BrowserWindow::Activate() calls ::SetForegroundWindow() which is - // adequate. On Mac, BrowserWindow::Activate() calls -[NSWindow - // makeKeyAndOrderFront:] which does not activate the application - // itself. - const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess(); - if (parsed_command_line.HasSwitch(switches::kActivateOnLaunch)) { - [NSApp activateIgnoringOtherApps:YES]; - } } // (NSApplicationDelegate protocol) This is the Apple-approved place to override |