diff options
author | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-07 16:51:43 +0000 |
---|---|---|
committer | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-07 16:51:43 +0000 |
commit | fac804cfe94474ceb44f512e7aca888d2c62b6b8 (patch) | |
tree | 312490919257b7168adeb5a4ae07f9384ea27400 /chrome_frame | |
parent | 191e5a20da672688d842ad3b5e4c4c7bf8c6c71c (diff) | |
download | chromium_src-fac804cfe94474ceb44f512e7aca888d2c62b6b8.zip chromium_src-fac804cfe94474ceb44f512e7aca888d2c62b6b8.tar.gz chromium_src-fac804cfe94474ceb44f512e7aca888d2c62b6b8.tar.bz2 |
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
Diffstat (limited to 'chrome_frame')
-rw-r--r-- | chrome_frame/chrome_frame_automation.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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 |