diff options
author | slightlyoff@chromium.org <slightlyoff@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-06 01:04:48 +0000 |
---|---|---|
committer | slightlyoff@chromium.org <slightlyoff@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-06 01:04:48 +0000 |
commit | 8cdc6be1ec90ec5b8e8f95c55ba84e54ba67259e (patch) | |
tree | d50adb804ecf4d6537aa44cc92be566731a63e7b /chrome_frame | |
parent | 61aac96047b7d85a0966771fc3d9e1795c10db81 (diff) | |
download | chromium_src-8cdc6be1ec90ec5b8e8f95c55ba84e54ba67259e.zip chromium_src-8cdc6be1ec90ec5b8e8f95c55ba84e54ba67259e.tar.gz chromium_src-8cdc6be1ec90ec5b8e8f95c55ba84e54ba67259e.tar.bz2 |
Pass the renderer a11y flag to Chrome Frame-created renderers.
BUG=23669
TEST=watch event32 a11y event log on pages which render in GCF.
Review URL: http://codereview.chromium.org/255062
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28081 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r-- | chrome_frame/chrome_frame_automation.cc | 2 | ||||
-rw-r--r-- | chrome_frame/chrome_launcher.cc | 3 |
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."; |