Index: chrome/browser/ui/browser_init.cc |
=================================================================== |
--- chrome/browser/ui/browser_init.cc (revision 71046) |
+++ chrome/browser/ui/browser_init.cc (working copy) |
@@ -1037,7 +1037,13 @@ |
silent_launch = true; |
profile->GetCloudPrintProxyService()->ShowTokenExpiredNotification(); |
} |
+ // If we are just displaying a print dialog we shouldn't open browser |
+ // windows. |
+ if (command_line.HasSwitch(switches::kCloudPrintFile)) { |
sanjeevr
2011/01/13 18:03:41
Here also we should check if there is a path actua
abodenha
2011/01/13 19:03:59
Done.
|
+ silent_launch = true; |
+ } |
+ |
if (command_line.HasSwitch(switches::kExplicitlyAllowedPorts)) { |
std::string allowed_ports = |
command_line.GetSwitchValueASCII(switches::kExplicitlyAllowedPorts); |