From fac804cfe94474ceb44f512e7aca888d2c62b6b8 Mon Sep 17 00:00:00 2001 From: "robertshield@chromium.org" Date: Wed, 7 Oct 2009 16:51:43 +0000 Subject: Turn off Chrome error dialogs when it is launched by Chrome Frame. Review URL: http://codereview.chromium.org/260018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28264 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome_frame/chrome_frame_automation.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'chrome_frame/chrome_frame_automation.cc') diff --git a/chrome_frame/chrome_frame_automation.cc b/chrome_frame/chrome_frame_automation.cc index 2eaf00e..d4410cd 100644 --- a/chrome_frame/chrome_frame_automation.cc +++ b/chrome_frame/chrome_frame_automation.cc @@ -234,6 +234,10 @@ void ProxyFactory::CreateProxy(ProxyFactory::ProxyCacheEntry* entry, // Chrome Frame never wants Chrome to start up with a First Run UI. command_line->AppendSwitch(switches::kNoFirstRun); + // Disable the "Whoa! Chrome has crashed." dialog, because that isn't very + // useful for Chrome Frame users. + command_line->AppendSwitch(switches::kNoErrorDialogs); + command_line->AppendSwitch(switches::kEnableRendererAccessibility); // Place the profile directory in -- cgit v1.1