Linux Aura accessibility is enabled only on GNOME desktops
commit16e2d5a386e3ddd5be818a0d27610b1e9ee9c08e
authork.czech <k.czech@samsung.com>
Wed, 6 May 2015 23:21:48 +0000 (6 16:21 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 6 May 2015 23:22:20 +0000 (6 23:22 +0000)
tree87f429d168a3122677326d5a8b5a284a0770917d
parentf324f5095f912fba25ed1d79faaec98424f4c8fd
Linux Aura accessibility is enabled only on GNOME desktops

Linux Aura accessibility is not enabled on desktops different than GNOME2.
GNOME3 has deprecated gconf in favor of gsettings and dconf.
AT-SPI (cross-platform framework that provides communication between AT
and application) bus launcher has a property called org.a11y.Bus.IsEnabled
that could be easily read by dbus call.

In generall this patch adds an additional check to enable accessibility.
When gconf is available use gnome's accessibility key otherwise
org.a11y.Bus.IsEnabled property.

BUG=472183,468989,468112
TBR=stevenjb@chromium.org,jochen@chromium.org

Review URL: https://codereview.chromium.org/1028553003

Cr-Commit-Position: refs/heads/master@{#328651}
build/linux/system.gyp
ui/accessibility/DEPS
ui/accessibility/accessibility.gyp
ui/accessibility/platform/atk_util_auralinux.cc
ui/accessibility/platform/atk_util_auralinux.h