summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/chrome_frame_automation.cc2
-rw-r--r--chrome_frame/chrome_launcher.cc3
2 files changed, 4 insertions, 1 deletions
diff --git a/chrome_frame/chrome_frame_automation.cc b/chrome_frame/chrome_frame_automation.cc
index a03a39c..8304547 100644
--- a/chrome_frame/chrome_frame_automation.cc
+++ b/chrome_frame/chrome_frame_automation.cc
@@ -234,6 +234,8 @@ void ProxyFactory::CreateProxy(ProxyFactory::ProxyCacheEntry* entry,
// Chrome Frame never wants Chrome to start up with a First Run UI.
command_line->AppendSwitch(switches::kNoFirstRun);
+ command_line->AppendSwitch(switches::kEnableRendererAccessibility);
+
// Place the profile directory in
// "<chrome_exe_path>\..\User Data\<profile-name>"
if (!entry->profile_name.empty()) {
diff --git a/chrome_frame/chrome_launcher.cc b/chrome_frame/chrome_launcher.cc
index f992728..561e0ba 100644
--- a/chrome_frame/chrome_launcher.cc
+++ b/chrome_frame/chrome_launcher.cc
@@ -26,6 +26,7 @@ const wchar_t* kAllowedSwitches[] = {
switches::kNoFirstRun,
switches::kUserDataDir,
switches::kLoadExtension,
+ switches::kEnableRendererAccessibility,
};
CommandLine* CreateLaunchCommandLine() {
@@ -44,7 +45,7 @@ CommandLine* CreateLaunchCommandLine() {
if (file_util::PathExists(same_dir_path)) {
return new CommandLine(same_dir_path.ToWStringHack());
} else {
- FilePath servers_path =
+ FilePath servers_path =
current_dir.Append(L"servers").Append(kLauncherExeBaseName);
DCHECK(file_util::PathExists(servers_path)) <<
"What module is this? It's not in 'servers' or main output dir.";