Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: ui/accessibility/platform/atk_util_auralinux.h

Issue 1028553003: Linux Aura accessibility is enabled only on GNOME desktops (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more correction Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/accessibility/platform/atk_util_auralinux.h
diff --git a/ui/accessibility/platform/atk_util_auralinux.h b/ui/accessibility/platform/atk_util_auralinux.h
index 349c41a53de07af1061fbb44f598efdb221be2e4..e8054bca42186fee5c89f8a4ca57726433f24f1a 100644
--- a/ui/accessibility/platform/atk_util_auralinux.h
+++ b/ui/accessibility/platform/atk_util_auralinux.h
@@ -5,9 +5,15 @@
#ifndef UI_ACCESSIBILITY_AX_UTIL_AURALINUX_H_
#define UI_ACCESSIBILITY_AX_UTIL_AURALINUX_H_
+#include "base/callback.h"
+#include "base/memory/scoped_ptr.h"
#include "base/memory/singleton.h"
#include "ui/accessibility/ax_export.h"
+namespace base {
+class Thread;
+}
+
namespace ui {
// This singleton class initializes ATK (accessibility toolkit) and
@@ -20,9 +26,17 @@ class AtkUtilAuraLinux {
AtkUtilAuraLinux();
virtual ~AtkUtilAuraLinux();
-
private:
friend struct DefaultSingletonTraits<AtkUtilAuraLinux>;
+
+ void CheckIfAccessibilityIsEnabled();
+ void CheckPlatformAccessibilitySupport();
+ void OnStopAccessibilityThread();
+
+#if defined(USE_GCONF) || defined(USE_DBUS)
+ bool isEnabled;
dmazzoni 2015/04/20 16:33:22 is_enabled_
+ scoped_ptr<base::Thread> accessibility_init_thread_;
+#endif
};
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698